home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Carousel
/
CAROUSEL.cdr
/
mactosh
/
da
/
insidema.sit
/
Little Manual
< prev
next >
Wrap
Text File
|
1988-08-18
|
87KB
|
3,485 lines
,129
129
Resource Manager Definitions.
Definitions not available in the little manual.
\ ,130
130
QuickDraw Definitions.
Definitions not available in the little manual.
\ ,131
131
Font Manager Definitions.
Definitions not available in the little manual.
\ ,132
132
Event Manager Definitions.
Definitions not available in the little manual.
\ ,133
133
Window Manager Definitions.
Definitions not available in the little manual.
\ ,134
134
Control Manager Definitions.
Definitions not available in the little manual.
\ ,135
135
Menu Manager Definitions.
Definitions not available in the little manual.
\ ,136
136
TextEdit Definitions.
Definitions not available in the little manual.
\ ,137
137
Dialog Manager Definitions.
Definitions not available in the little manual.
\ ,138
138
Desk Manager Definitions.
Definitions not available in the little manual.
\ ,139
139
Scrap Manager Definitions.
Definitions not available in the little manual.
\ ,140
140
Toolbox Utilities Definitions.
Definitions not available in the little manual.
\ ,141
141
Package Manager Definitions.
Definitions not available in the little manual.
\ ,142
142
Memory Manager Definition.
Definitions not available in the little manual.
\ ,143
143
Segment Loader Definitions.
Definitions not available in the little manual.
\ ,144
144
OS Event Definitions.
Definitions not available in the little manual.
\ ,145
145
File Manager Definitions.
Definitions not available in the little manual.
\ ,146
146
Printing Manager Definitions.
Definitions not available in the little manual.
\ ,147
147
Device Manager Definitions.
Definitions not available in the little manual.
\ ,148
148
Disk Driver Definitions.
Definitions not available in the little manual.
\ ,149
149
Sound Driver Definitions.
Definitions not available in the little manual.
\ ,151
151
AppleTalk definitions.
Definitions not available in the little manual.
\ ,154
154
List Manager Definitions.
Definitions not available in the little manual.
\,155
155
Definitions not available in the little manual.
\ InitResources
1
FUNCTION InitResources : INTEGER;
\ RsrcZoneInit
1
PROCEDURE RsrcZoneInit;
\ CreateResFile
1
PROCEDURE CreateResFile (fileName: Str255);
\ OpenResFile
1
FUNCTION OpenResFile (fileName: Str255) : INTEGER;
\ CloseResFile
1
PROCEDURE CloseResFile (refNum: INTEGER);
\ ResError
1
FUNCTION ResError : INTEGER;
\ CurResFile
1
FUNCTION CurResFile : INTEGER;
\ HomeResFile
1
FUNCTION HomeResFile (theResource: Handle) : INTEGER
\ UseResFile
1
PROCEDURE UseResFile (refNum: INTEGER);
\ CountTypes
1
FUNCTION CountTypes : INTEGER;
\ GetIndType
1
PROCEDURE GetIndType (VAR theType: ResType; index: INTEGER);
\ SetResLoad
1
PROCEDURE SetResLoad (load: BOOLEAN);
\ CountResources
1
FUNCTION CountResources (theType: ResType) : INTEGER;
\ GetIndResource
1
FUNCTION GetIndResource (theType: ResType; index: INTEGER) : Handle;
\ GetResource
1
FUNCTION Get Resource (theType: ResType; the ID: INTEGER) : Handle;
\ GetNamedResource
1
FUNCTION GetNamedResource (theType: ResType; name: Str255) : Handle;
\ LoadResource
1
PROCEDURE LoadResource (theResource: Handle);
\ ReleaseResource
1
PROCEDURE ReleaseResource (theResource: Handle);
\ DetachResource
1
PROCEDURE DetachResource (theResource: Handle);
\ UniqueID
1
FUNCTION UniqueID (theType: ResType) : INTEGER;
\ GetResInfo
1
PROCEDURE GetResInfo (theResource: Handle; VAR the ID: INTEGER; VAR
theType: ResType; VAR name: Str255);
\ GetResAttrs
1
FUNCTION GetResAttrs (theResource: Handle) : INTEGER;
\ SizeResource
1
FUNCTION SizeResource (the Resource: Handle) : LONGINT;
\ SetResInfo
1
PROCEDURE SetResInfo (theResource: Handle; theID: INTEGER;
name: Str255);
\ SetResAttrs
1
PROCEDURE SetResAttrs (theResource: Handle; attrs: INTEGER);
\ ChangedResource
1
PROCEDURE ChangedResource (theResource: Handle);
\ AddResource
1
PROCEDURE AddResource (theData: Handle; theType: ResType; theID:
INTEGER; name: Str255);
\ RmveResource
1
PROCEDURE RmveResource (theResource: Handle);
\ UpdateResFile
1
PROCEDURE UpdateResFile (refNum: INTEGER);
\ WriteResource
1
PROCEDURE WriteResource (theResource: Handle);
\ SetResPurge
1
PROCEDURE SetResPurge (install: BOOLEAN);
\ GetResFileAttrs
1
FUNCTION GetResFileAttrs (refNum: INTEGER) : INTEGER;
\ SetResFileAttrs
1
PROCEDURE SetResFileAttrs (refNum: INTEGER; attrs: INTEGER);
\ AddReference
1
PROCEDURE AddReference (theResource: Handle; theID: INTEGER; name:
Str255);
\ RmveReference
1
PROCEDURE RmveReference (theResource: Handle);
\ Count1Types
1
FUNCTION Count1Types : INTEGER;
\ Get1IndType
1
PROCEDURE Get1IndType (VAR theType: ResType; index: INTEGER);
\ Count1Resources
1
FUNCTION Count1Resources (theType: ResType) : INTEGER;
\ Get1IndResource
1
FUNCTION Get1IndResource (theType: ResType; index: INTEGER) : Handle;
\ Get1Resource
1
FUNCTION Get1Resource (theType: ResType; theID: INTEGER) : Handle;
\ Get1NamedResource
1
FUNCTION Get1NamedResource (theType: ResType; name: Str255) : Handle;
\ Unique1ID
1
FUNCTION Unique1ID (theType: ResType) : INTEGER;
\ MaxSizeRsrc
1
FUNCTION MaxSizeRsrc (theResource: Handle) : LONGINT;
\ RsrcMapEntry
1
FUNCTION RsrcMapEntry (theResource: Handle) : LONGINT;
\ OpenRFPerm
1
FUNCTION OpenRFPerm (fileName: Str255; vRefNum: INTEGER; permission: Byte) : INTEGER;
\ InitGraf
2
PROCEDURE InitGraf (globalPtr: QDPtr);
\ OpenPort
2
PROCEDURE OpenPort (gp: GrafPtr);
\ InitPort
2
PROCEDURE InitPort (gp: GrafPtr);
\ ClosePort
2
PROCEDURE ClosePort (gp: GrafPtr)
\ SetPort
2
PROCEDURE SetPort (gp: GrafPtr);
\ GetPort
2
PROCEDURE GetPort (VAR gp: GrafPtr);
\ GrafDevice
2
PROCEDURE GrafDevice (device: INTEGER);
\ SetPortBits
2
PROCEDURE SetPortBits (bm: BitMap);
\ PortSize
2
PROCEDURE PortSize (width, height: INTEGER);
\ MovePortTo
2
PROCEDURE MovePortTo (leftGlobal,topGlobal: INTEGER);
\ SetOrigin
2
PROCEDURE SetOrigin (h,v: INTEGER);
\ SetClip
2
PROCEDURE SetClip (rgn: RgnHandle);
\ GetClip
2
PROCEDURE GetClip (rgn: RgnHandle);
\ ClipRect
2
PROCEDURE ClipRect (r: Rect);
\ BackPat
2
PROCEDURE BackPat (pat: Pattern);
\ InitCursor
2
PROCEDURE InitCursor;
\ SetCursor
2
PROCEDURE SetCursor (crsr: Cursor);
\ HideCursor
2
PROCEDURE HideCursor;
\ ShowCursor
2
PROCEDURE ShowCursor;
\ ObscureCursor
2
PROCEDURE ObscureCursor;
\ HidePen
2
PROCEDURE HidePen
\ ShowPen
2
PROCEDURE ShowPen;
\ GetPen
2
PROCEDURE GetPen (VAR pt: Point);
\ GetPenState
2
PROCEDURE GetPenState (VAR pnState: PenState);
\ SetPenState
2
PROCEDURE SetPenState (pnState: PenState);
\ PenSize
2
PROCEDURE PenSize (width, height: INTEGER);
\ PenMode
2
PROCEDURE PenMode (mode: INTEGER);
\ PenPat
2
PROCEDURE PenPat (pat: Pattern);
\ PenNormal
2
PROCEDURE PenNormal;
\ MoveTo
2
PROCEDURE MoveTo (h,v: INTEGER);
\ Move
2
PROCEDURE Move (dh,dv: INTEGER);
\ LineTo
2
PROCEDURE LineTo (h,v: INTEGER);
\ Line
2
PROCEDURE Line (dh,dv: INTEGER);
\ TextFont
2
PROCEDURE TextFont (font:INTEGER);
\ TextFace
2
PROCEDURE TextFace (face:Style);
\ TextMode
2
PROCEDURE TextMode (mode: INTEGER);
\ TextSize
2
PROCEDURE TextSize (size: INTEGER);
\ SpaceExtra
2
PROCEDURE SpaceExtra (extra: INTEGER);
\ DrawChar
2
PROCEDURE DrawChar (ch: CHAR);
\ DrawString
2
PROCEDURE DrawString (s: Str255);
\ DrawText
2
PROCEDURE DrawText (textBuf: QDPtr; firstByte,byteCount: INTEGER);
\ CharWidth
2
FUNCTION CharWidth (ch: CHAR) : INTEGER;
\ StringWidth
2
FUNCTION StringWidth (s: Str255 ) : INTEGER;
\ TextWidth
2
FUNCTION TextWidth (textBuf: QDPtr; firstByte,byteCount: INTEGER) :
INTEGER;
\ GetFontInfo
2
PROCEDURE GetFontInfo (VAR into: FontInfo);
\ Forecolor
2
PROCEDURE ForeColor (color: LongInt);
\ BackColor
2
PROCEDURE BackColor (color: LongInt)
\ ColorBit
2
PROCEDURE ColorBit (whichBit: INTEGER);
\ SetRect
2
PROCEDURE SetRect (VAR r: Rect; left,top,right, bottom: INTEGER);
\ OffSetRect
2
PROCEDURE OffsetRect (VAR r: Rect; dh,dv: INTEGER);
\ InsetRect
2
PROCEDURE InsetRect (VAR r: Rect; dh,dv: INTEGER);
\ SectRect
2
FUNCTION SectRect(srcRectA,srcRectB: Rect; VAR dstRect: Rect) :
BOOLEAN;
\ UnionRect
2
PROCEDURE UnionRect (srcRectA,srcRectB: Rect; VAR dstRect: Rect);
\ PtInRect
2
FUNCTION PtInRect (pt: Point; r: Rect) : BOOLEAN;
\ Pt2Rect
2
PROCEDURE Pt2Rect (ptA,ptB: Point; VAR: dstRect: Rect);
\ PtToAngle
2
PROCEDURE PtToAngle (r: Rect; pt: Point; VAR angle: INTEGER);
\ EqualRect
2
FUNCTION EqualRect (rectA,rectB: Rect) : BOOLEAN;
\ EmptyRect
2
FUNCTION EmptyRect (r: Rect) : BOOLEAN;
\ FrameRect
2
PROCEDURE FrameRect (r: Rect);
\ PaintRect
2
PROCEDURE PaintRect (r: Rect);
\ EraseRect
2
PROCEDURE EraseRect (r: Rect);
\ InvertRect
2
PROCEDURE InvertRect (r: Rect);
\ FillRect
2
PROCEDURE FillRect (r: Rect; pat: Pattern);
\ FrameOval
2
PROCEDURE FrameOval (r: Rect);
\ PaintOval
2
PROCEDURE PaintOval (r: Rect);
\ EraseOval
2
PROCEDURE EraseOval (r: Rect);
\ InvertOval
2
PROCEDURE InvertOval (r: Rect);
\ FillOval
2
PROCEDURE FillOval (r: Rect; pat: Pattern);
\ FrameRoundRect
2
PROCEDURE FrameRoundRect (r: Rect; ovalWidth,ovalHeight: INTEGER);
\ PaintRoundRect
2
PROCEDURE PaintRoundRect (r: Rect; ovalWidth,ovalHeight: INTEGER);
\ EraseRoundRect
2
PROCEDURE EraseRoundRect (r: Rect; ovalWidth,ovalHeight: INTEGER);
\ InvertRoundRect
2
PROCEDURE InvertRoundRect (r: Rect; ovalWidth,ovalHeight: INTEGER);
\ FillRoundRect
2
PROCEDURE FillRoundRect (r: Rect; ovalWidth,ovalHeight: INTEGER; pat:
Pattern);
\ FrameArc
2
PROCEDURE FrameArc (r: Rect; startAngle,arcAngle: INTEGER);
\ PaintArc
2
PROCEDURE PaintArc (r: Rec; startAngle,arcAngle: INTEGER);
\ EraseArc
2
PROCEDURE EraseArc (r: Rect; startAngle,arcAngle: INTEGER);
\ InvertArc
2
PROCEDURE InvertArc (r: Rect; startAngle,arcAngle: INTEGER);
\ FillArc
2
PROCEDURE FillArc (r: Rect; startAngle,arcAngle: INTEGER; pat:
Pattern);
\ NewRgn
2
FUNCTION NewRgn : RgnHandle;
\ DisposeRgn
2
PROCEDURE DisposeRgn (rgn: RgnHandle);
\ CopyRgn
2
PROCEDURE CopyRgn (srcRgn,dstRgn: RgnHandle);
\ SetEmptyRgn
2
PROCEDURE SetEmptyRgn (rgn: RgnHandle);
\ SetRectRgn
2
PROCEDURE SetRectRgn (rgn: RgnHandle; left,top,right,bottom: INTEGER);
\ RectRgn
2
PROCEDURE RectRgn (rgn: RgnHandle; r: Rect);
\ OpenRgn
2
PROCEDURE OpenRgn;
\ CloseRgn
2
PROCEDURE CloseRgn (dstRgn: RgnHandle);
\ OffsetRgn
2
PROCEDURE OffsetRgn (rgn: RgnHandle; dh,dv: INTEGER);
\ InsetRgn
2
PROCEDURE InsetRgn (rgn: RgnHandle; dh,dv: INTEGER);
\ SectRgn
2
PROCEDURE SectRgn (srcRgnA,srcRgnB,dstRgn: RgnHandle);
\ UnionRgn
2
PROCEDURE UnionRgn (srcRgnA,srcRgnB,dstRgn: RgnHandle);
\ DiffRgn
2
PROCEDURE DiffRgn (srcRgnA,srcRgnB,dstRgn: RgnHandle);
\ XorRgn
2
PROCEDURE XorRgn (srcRgnA,srcRgnB,dstRgn: RgnHandle);
\ PtInRgn
2
FUNCTION PtInRgn (pt: Point; rgn: RgnHandle) : BOOLEAN;
\ RectInRgn
2
FUNCTION RectInRgn (r: Rect; rgn: RgnHandle) : BOOLEAN;
\ EqualRgn
2
FUNCTION EqualRgn (rgnA,rgnB: RgnHandle) : BOOLEAN;
\ EmptyRgn
2
FUNCTION EmptyRgn (rgn: RgnHandle) : BOOLEAN;
\ FrameRgn
2
PROCEDURE FrameRgn (rgn: RgnHandle);
\ PaintRgn
2
PROCEDURE PaintRgn (rgn: RgnHandle);
\ EraseRgn
2
PROCEDURE EraseRgn (rgn: RgnHandle);
\ InvertRgn
2
PROCEDURE InvertRgn (rgn: RgnHandle);
\ FillRgn
2
PROCEDURE FillRgn (rgn: RgnHandle; pat: Pattern);
\ ScrollRect
2
PROCEDURE ScrollRect (r: Rect; dh,dv: INTEGER; updateRgn: RgnHandle);
\ CopyBits
2
PROCEDURE CopyBits (srcBits,dstBits: BitMap; srcRect,dstRect: Rect;
mode: INTEGER; maskRgn: RgnHandle);
\ OpenPicture
2
FUNCTION OpenPicture (picFrame: Rect) : PicHandle;
\ ClosePicture
2
PROCEDURE ClosePicture;
\ PicComment
2
PROCEDURE PicComment (kind,dataSize: INTEGER; dataHandle: QDHandle);
\ DrawPicture
2
PROCEDURE DrawPicture (myPicture: PicHandle; dstRect: Rect);
\ KillPicture
2
PROCEDURE KillPicture (myPicture: PicHandle);
\ OpenPoly
2
FUNCTION OpenPoly : PlyHandle;
\ ClosePoly
2
PROCEDURE ClosePoly;
\ KillPoly
2
PROCEDURE KillPoly (poly: PolyHandle);
\ OffsetPoly
2
PROCEDURE OffsetPoly (poly: PolyHandle; dh,dv: INTEGER);
\ FramePoly
2
PROCEDURE FramePoly (poly: PolyHandle);
\ PaintPoly
2
PROCEDURE PaintPoly (poly: PolyHandle);
\ ErasePoly
2
PROCEDURE ErasePoly (poly: PolyHandle);
\ InvertPoly
2
PROCEDURE InvertPoly (poly: PolyHandle);
\ FillPoly
2
PROCEDURE FillPoly (poly: PolyHandle; pat: Pattern);
\ AddPt
2
PROCEDURE AddPt (srcPt: Point; VAR dstPt: Point);
\ SubPt
2
PROCEDURE SubPt (srcPt: Point; VAR dstPt: Point);
\ SetPt
2
PROCEDURE SetPt (VAR pt: Point; h,v: INTEGER);
\ EqualPt
2
FUNCTION EqualPt (ptA,ptB: Point) : BOOLEAN;
\ LocalToGlobal
2
PROCEDURE LocalToGlobal (VAR pt: Point);
\ GlobalToLocal
2
PROCEDURE GlobalToLocal (VAR pt: Point);
\ Random
2
\ GetPixel
2
FUNCTION GetPixel (h,v: INTEGER) : BOOLEAN;
\ StuffHex
2
PROCEDURE StuffHex (thingPtr: QDPtr; s: Str255);
\ ScalePt
2
PROCEDURE ScalePt (VAR pt: Point; srcRect,dstRect: Rect);
\ MapPt
2
PROCEDURE MapPt (VAR pt: Point; srcRect,dstRect: Rect);
\ MapRect
2
PROCEDURE MapRect (VAR r: Rect; srcRect,dstRect: Rect);
\ MapRgn
2
PROCEDURE MapRgn (rgn: RgnHandle; srcRect: Rect);
\ MapPoly
2
PROCEDURE MapPoly (poly: PolyHandle; srcRect,dstRect: Rect);
\ SetStdProcs
2
PROCEDURE SetStdProcs (VAR procs: QDProcs);
\ StdLine
2
PROCEDURE StdLine (newPt: Point);
\ StdRect
2
PROCEDURE StdRect (verb; r: Rect);
\ StdRRect
2
PROCEDURE StdRRect (verb: GrafVerb; r: Rect; ovalwidth,ovalHeight:
INTEGER);
\ StdOval
2
PROCEDURE StdOval (verb: GrafVerb; r: Rect);
\ StdArc
2
PROCEDURE StdArc (verb: GrafVerb; r: Rect; startAngle,arcAngle:
INTEGER);
\ StdPoly
2
PROCEDURE StdPoly (verb: GrafVerb; poly: PolyHandle);
\ StdRgn
2
PROCEDURE StdRgn (verb: GrafVerb; rgn: RgnHandle);
\ StdBits
2
PROCEDURE StdBits (VAR srcBits: BitMap; VAR srcRect,dstRect: Rect;
mode: INTEGER; maskRgn: RgnHandle);
\ StdComment
2
PROCEDURE StdComment (kind,dataSize: INTEGER; dataHandle: QDHandle);
\ StdTxMeas
2
FUNCTION StdTxMeas (byteCount: INTEGER; textBuf: QDPtr; VAR
numer,denom: Point; VAR info: FontInfo) : INTEGER;
\ StdGetPic
2
PROCEDURE StdGetPic (dataPtr: QDPtr; byteCount: INTEGER);
\ StdPutPic
2
PROCEDURE StdPutPic (dataPtr: QdPtr; byteCount: INTEGER);
\ SeedFill
2
PROCEDURE SeedFill (srcPtr,dstPtr: Ptr; srcRow, dstRow, height,
words,seedH,seedV: INTEGER);
\ CalcMask
2
PROCEDURE CalcMask (srcPtr,dstPtr: Ptr; srcRow, dstRow, height,
words: INTEGER);
\ CopyMask
2
PROCEDURE CopyMask (srcBits,maskBits,dstBits: BitMap; srcRect,
maskRect,dstRect: Rect);
\ MeasureText
2
PROCEDURE MeasureText (count: INTEGER; textAddr,charLocs: Ptr);
\ GetMaskTable
2
The function GetMaskTable, accessible only from assembly language,
returns in register A0 a pointer to a ROM table containing several useful masks.
\ InitFonts
3
PROCEDURE InitFonts;
\ GetFontName
3
PROCEDURE GetFontName (fontNum: INTEGER; VAR theName: Str255);
\ GetFNum
3
PROCEDURE GetFNum (fontName: Str255; VAR theNum: INTEGER);
\ RealFont
3
FUNCTION RealFont (fontNum: INTEGER; size: INTEGER) : BOOLEAN;
\ SetFontLock
3
PROCEDURE SetFontLock (lockFlag: BOOLEAN);
\ SwapFont
3
FUNCTION SwapFont (inRec: FMInput) : FMOutPtr;
\ FontMetrics
3
PROCEDURE FontMetrics (VAR theMetrics: FMetricRec);
\ SetFractEnable
3
PROCEDURE SetFractEnable (fractEnable: BOOLEAN) [Not in ROM]
\ SetFScaleDisable
3
PROCEDURE SetFScaleDisable (fontScaleDisable: BOOLEAN);
\ GetNextEvent
4
FUNCTION GetNextEvent (eventMask: INTEGER; VAR theEvent: EventRecord)
: BOOLEAN;
\ EventAvail
4
FUNCTION EventAvail (eventMask: INTEGER; VAR theEvent: EventRecord) :
BOOLEAN;
\ GetMouse
4
PROCEDURE GetMouse (VAR mouseLoc: Point);
\ Button
4
FUNCTION Button : BOOLEAN;
\ Stilldown
4
FUNCTION StillDown : BOOLEAN;
\ WaitMouseUp
4
FUNCTION WaitMouseUp: BOOLEAN;
\ GetKeys
4
PROCEDUREGetKeys (VAR theKeys: KeyMap);
\ TickCount
4
FUNCTION TickCount : LONGINT;
\ GetDblTime
4
FUNCTION GetDblTime : LONGINT; [No trap macro]
\ GetCaretTime
4
FUNCTION GetCaretTime : LONGINT; [No trap macro]
\ InitWindows
5
PROCEDURE InitWindows;
\ GetWMgrPort
5
PROCEDURE GetWMgrPort (VAR wPort: GrafPtr);
\ NewWindow
5
FUNCTION NewWindow (wStorage: Ptr; boundsRect: Rect; title: Str255;
visible: BOOLEAN; procID: Integer;behind: WindowPtr;
goAway Flag: BOOLEAN; refCon: LongInt) : WindowPtr;
\ GetNewWindow
5
FUNCTION GetNewWindow (ID: INTEGER; wStorage: Ptr; behind:
WindowPtr) : WindowPtr;
\ CloseWindow
5
PROCEDURE CloseWindow (theWindow: WindowPtr);
\ DisposeWindow
5
PROCEDURE DisposeWindow (theWindow: WindowPtr);
\ SetWTitle
5
PROCEDURE SetWTitle (theWindow: WindowPtr; title: Str255);
\ GetWTitle
5
PROCEDURE GetWTitle (theWindow: WindowPtr; VAR title: Str255);
\ SelectWindow
5
PROCEDURE SelectWindow (theWindow: WindowPtr);
\ HideWindow
5
PROCEDURE HideWindow (theWindow: WindowPtr);
\ ShowWindow
5
PROCEDURE ShowWindow (theWindow: WindowPtr);
\ ShowHide
5
PROCEDURE ShowHide (theWindow: WindowPtr; showFlag: (BOOLEAN);
\ HiliteWindow
5
PROCEDURE HiliteWindow (theWindow: WindowPtr; fHilite: BOOLEAN);
\ BringToFront
5
PROCEDURE BringToFront (theWindow: WindowPtr);
\ SendBehind
5
PROCEDURE SendBehind (theWindow: WindowPtr; behindWindow: WindowPtr);
\ FrontWindow
5
FUNCTION FrontWindow : WindowPtr;
\ DrawGrowIcon
5
PROCEDURE DrawGrowIcon (theWindow: WindowPtr).
\ FindWindow
5
FUNCTION FindWindow (thePt: Point; VAR whichWindow: WindowPtr) :
INTEGER;
\ TrackGoAway
5
FUNCTION TrackGoAway (theWindow: WindowPtr; thePt: Point) : BOOLEAN;
\ MoveWindow
5
PROCEDURE MoveWindow (theWindow: WindowPtr; hGlobal,vGlobal: INTEGER;
front: BOOLEAN);
\ DragWindow
5
PROCEDURE DragWindow (theWindow: WindowPtr; startPt: Point; boundsRect:
Rect);
\ GrowWindow
5
FUNCTION GrowWindow (theWindow: WindowPtr; startPt: Point; sizeRect:
Rect) : LongInt;
\ SizeWindow
5
PROCEDURE SizeWindow (theWindow: WindowPtr; w,h: INTEGER; fUpdate:
BOOLEAN);
\ InvalRect
5
PROCEDURE InvalRect (badRect: Rect);
\ InvalRgn
5
PROCEDURE InvalRgn (badRgn: RgnHandle);
\ ValidRect
5
PROCEDURE ValidRect (goodRect: Rect);
\ ValidRgn
5
PROCEDURE ValidRgn (goodRgn: RgnHandle);
\ BeginUpdate
5
PROCEDURE BeginUpdate (theWindow: WindowPtr);
\ EndUpdate
5
PROCEDURE EndUpdate (theWindow: WindowPtr);
\ SetWRefCon
5
PROCEDURESetWRefCon (theWindow: WindowPtr; data: LongInt);
\ GetWRefCon
5
FUNCTION GetWRefCon (theWindow: WindowPtr) : LongInt;
\ SetWindowPic
5
PROCEDURE SetWindowPic (theWindow: WindowPtr; pic: PicHandle);
\ GetWindowPic
5
FUNCTION GetWindowPic (theWindow: WindowPtr) : PicHandle;
theWindow's contents, previously stored with SetWindowPic (above).
\ PinRect
5
FUNCTION PinRect (theRect: Rect; thePt: Point) : LongInt;
\ DragGrayRgn
5
FUNCTION DragGrayRgn (theRgn: RgnHandle; startPt: Point;
limitRect,slopRect: Rect; axis: INTEGER; actionProc:
ProcPtr): LongInt;
\ CheckUpdate
5
FUNCTION CheckUpdate (VAR the Event: EventRecord) : BOOLEAN;
\ ClipAbove
5
PROCEDURE ClipAbove (window: WindowPeek);
\ SaveOld
5
PROCEDURE SaveOld (window: WindowPeek);
\ DrawNew
5
PROCEDURE DrawNew (window: WindowPeek; update: BOOLEAN);
\ PaintOne
5
PROCEDURE PaintOne (window: WindowPeek; clobberedRgn: RgnHandle);
\ PaintBehind
5
PROCEDURE PaintBehind (startWindow: WindowPeek; clobberedRgn:
RgnHandle);
\ CalcVis
5
PROCEDURE CalcVis (window: WindowPeek);
\ CalcVisBehind
5
PROCEDURE CalcVisBehind (startWindow: WindowPeek; clobberedRgn:
RegHandle;
\ TrackBox
5
FUNCTION TrackBox (theWindow: WindowPtr; thePt: Point;
partCode: INTEGER) : BOOLEAN;
\ ZoomWindow
5
PROCEDURE ZoomWindow (theWindow: WindowPtr;
partCode: INTEGER; front: BOOLEAN);
\ NewControl
6
FUNCTION NewControl (theWindow: WindowPtr; boundsRect: Rect; title:
Str255; visible: BOOLEAN; value: INTEGER;
min,max: INTEGER; procID: INTEGER; refCon: LongInt)
: ControlHandle;
\ GetNewControl
6
FUNCTION GetNewControl (controlID: INTEGER; theWindow: WindowPtr)
: ControlHandle;
\ DisposeControl
6
PROCEDURE DisposeControl (theControl: ControlHandle);
\ KillControls
6
PROCEDURE KillControls (theWindow: WindowPtr);
\ SetCTitle
6
PROCEDURE SetCTitle (theControl: ControlHandle; title: Str255);
\ GetCTitle
6
PROCEDURE GetCTitle (theControl: ControlHandle; VAR title: Str255);
\ HideControl
6
PROCEDURE HideControl (theControl: ControlHandle);
\ ShowControl
6
PROCEDURE ShowControl (theControl: ControlHandle);
\ DrawControls
6
PROCEDURE DrawControls (theWindow: WindowPtr);
\ HiliteControl
6
PROCEDURE HiliteControl (theControl: ControlHandle; hiliteState:
INTEGER);
\ TestControl
6
FUNCTION TestControl (theControl: ControlHandle; thePoint: Point)
: INTEGER;
\ FindControl
6
FUNCTION FindControl (thePoint: Point; theWindow: WindowPtr; VAR
whichControl: ControlHandle) : INTEGER;
\ TrackControl
6
FUNCTION TrackControl (theControl: ControlHandle; startPt: Point;
actionProc: ProcPtr) : INTEGER;
\ MoveControl
6
PROCEDURE MoveControl (theControl: ControlHandle; h,v: INTEGER);
\ DragControl
6
PROCEDURE DragControl (theControl: ControlHandle; startPt: Point;
limitRect,slopRect: Rect; axis: INTEGER);
\ SizeControl
6
PROCEDURE SizeControl (theControl: ControlHandle; w,h: INTEGER);
\ SetCtlValue
6
PROCEDURE SetCtlValue (theControl: ControlHandle; theValue: INTEGER);
\ GetCtlValue
6
FUNCTION GetCtlValue (theControl: ControlHandle) : INTEGER;
\ SetCtlMin
6
PROCEDURE SetCtlMin (theControl: ControlHandle; minValue: INTEGER;
\ GetCtlMin
6
FUNCTION GetCtlMin (theControl: ControlHandle) : INTEGER;
\ SetCtlMax
6
PROCEDURE SetCtlMax (theControl: ControlHandle; maxValue: INTEGER);
\ GetCtlMax
6
FUNCTION GetCtlMax (theControl: ControlHandle) : INTEGER;
\ SetCRefCon
6
PROCEDURE SetCRefCon (theControl: ControlHandle; data: LongInt);
\ GetCRefCon
6
FUNCTION GetCRefCon (theControl: ControlHandle) : LongInt;
\ SetCtlAction
6
PROCEDURE SetCtlAction (theControl: ControlHandle; actionProc:
ProcPtr);
\ GetCtlAction
6
FUNCTION GetCtlAction (theControl: ControlHandle) : ProcPtr;
\ UpdtControl
6
PROCEDURE UpdtControl (theWindow: WindowPtr; updateRgn: RgnHandle);
\ Draw1Control
6
PROCEDURE Draw1Control (theControl: ControlHandle);
\ InitMenus
7
PROCEDURE InitMenus;
\ NewMenu
7
FUNCTION NewMenu (menuID: INTEGER; MenuTitle: Str255) : MenuHandle;
\ GetMenu
7
FUNCTION GetMenu (resourceID: INTEGER) : MenuHandle;
\ DisposeMenu
7
PROCEDURE DisposeMenu (theMenu: MenuHandle);
\ AppendMenu
7
PROCEDURE AppendMenu (theMenu: MenuHandle; data: Str255);
\ AddResMenu
7
PROCEDURE AddResMenu (theMenu: MenuHandle; theType: ResType);
\ InsertResMenu
7
Procedure InsertResMenu (theMenu: MenuHandle; theType: ResType;
\ InsertMenu
7
PROCEDURE InsertMenu (theMenu: MenuHandle; before ID: INTEGER);
\ DrawMenuBar
7
PROCEDURE DrawMenuBar;
\ DeleteMenu
7
PROCEDURE DeleteMenu (menuID: INTEGER);
\ ClearMenuBar
7
PROCEDURE ClearMenuBar;
\ GetNewMBar
7
FUNCTION GetNewMBar (menuBarID: INTEGER) : Handle;
\ GetMenuBar
7
FUNCTION GetMenuBar : Handle;
\ SetMenuBar
7
PROCEDURE SetMenuBar (menuList: Handle);
\ MenuSelect
7
FUNCTION MenuSelect (startPt: Point) : LONGINT;
\ MenuKey
7
FUNCTION MenuKey (ch: CHAR) : LONGINT;
\ HiliteMenu
7
PROCEDURE HiliteMenu (menuID: INTEGER);
\ SetItem
7
PROCEDURE SetItem (theMenu: MenuHandle; item: INTEGER; itemString:
Str255);
\ GetItem
7
PROCEDURE GetItem (theMenu: MenuHandle; item: INTEGER; VAR itemString:
Str255);
\ DisableItem
7
PROCEDURE DisableItem (theMenu: MenuHandle; item: INTEGER);
\ EnableItem
7
PROCEDURE EnableItem (theMenu: MenuHandle; item: INTEGER);
\ CheckItem
7
PROCEDURE CheckItem (theMenu: MenuHandle; item: INTEGER; checked:
BOOLEAN);
\ SetItemMark
7
PROCEDURE SetItemMark (theMenu: MenuHandle; item: INTEGER; markChar:
CHAR);
\ GetItemMark
7
PROCEDURE GetItemMark (theMenu: MenuHandle; item: INTEGER; VAR
markChar: CHAR);
\ SetItemIcon
7
PROCEDURE SetItemIcon (theMenu: MenuHandle; item: INTEGER; icon: Byte);
\ GetItemIcon
7
PROCEDURE GetItemIcon (theMenu: MenuHandle; item: INTEGER; VAR icon:
Byte);
\ SetItemStyle
7
PROCEDURE SetItemStyle (theMenu: MenuHandle; item: INTEGER; chStyle:
Style);
\ GetItemStyle
7
PROCEDURE GetItemStyle (theMenu: MenuHandle; item: INTEGER; VAR
chStyle: Style);
\ CalcMenuSize
7
PROCEDURE CalcMenuSize (theMenu: MenuHandle);
\ CountMItems
7
FUNCTION CountMItems (TheMenu: MenuHandle): INTEGER;
\ GetMHandle
7
FUNCTION GetMHandle (menuID: INTEGER) : MenuHandle;
\ FlashMenuBar
7
PROCEDURE FlashMenuBar (menuID: INTEGER);
\ SetMenuFlash
7
PROCEDURE SetMenuFlash (count: INTEGER);
\ InsMenuItem
7
PROCEDURE InsMenuItem (theMenu: MenuHandle; itemString: Str255;
afterItem: INTEGER);
\ DelMenuItem
7
PROCEDURE DelMenuItem (theMenu: MenuHandle; item: INTEGER);
\ TEInit
8
PROCEDURE TEInit;
\ TENew
8
FUNCTION TENew (destRect, viewRect: Rect) : TEHandle;
\ TEDispose
8
PROCEDURE TEDispose (hTE: TEHandle);
\ TESetText
8
PROCEDURE TESetText (text: Ptr; length: LONGINT; hTE: TEHandle);
\ TEGetText
8
FUNCTION TEGetText (hTE: TEHandle) : CharsHandle;
\ TEIdle
8
PROCEDURE TEIdle (hTE: TEHandle);
\ TEClick
8
PROCEDURE TEClick (pt: Point; extend: BOOLEAN; hTE: TEHandle);
\ TESetSelect
8
PROCEDURE TESetSelect (selStart,selEnd: LONGINT; hTE: TEHandle);
\ TEActivate
8
PROCEDURE TEActivate (hTE: TEHandle);
\ TEDeactivate
8
PROCEDURE TEDeactivate (hTE: TEHandle);
\ TEKey
8
PROCEDURE TEKey (key: CHAR; hTE: TEHandle);
\ TECut
8
PROCEDURE TECut (hTE: TEHandle);
\ TECopy
8
PROCEDURE TECopy (hTE: TEHandle);
\ TEPaste
8
PROCEDURE TEPaste (hTE: TEHandle);
\ TEDelete
8
PROCEDURE TEDelete (hTE: TEHandle);
\ TEInsert
8
PROCEDURE TEInsert (text: Ptr; length: LONGINT; hTE: TEHandle);
\ TESetJust
8
PROCEDURE TESetJust (just: INTEGER, hTE: TEHandle);
\ TEUpdate
8
PROCEDURE TEUpdate (rUpdate: Rect; hTE: TEHandle);
\ TextBox
8
PROCEDURE TextBox (text: Ptr; length: LONGINT; box: Rect; just:
INTEGER);
\ TEScroll
8
PROCEDURE TEScroll (dh,dv: INTEGER; hTE: TEHandle);
\ TEFromScrap
8
FUNCTION TEFromScrap : OSErr; [Not in ROM]
\ TEToScrap
8
FUNCTION TEToScrap : OSErr; [Not in ROM]
\ TEScrapHandle
8
FUNCTION TEScrapHandle : Handle; [Not in ROM]
\ TEGetScrapLen
8
FUNCTION TEGetScrapLen : LONGINT; [Not in ROM]
\ TESetScrapLen
8
PROCEDURE TESetScrapLen (length: LONGINT); [Not in ROM]
\ TECalText
8
PROCEDURE TECalText (hTE: TEHandle);
\ TESelView
8
PROCEDURE TESelView (hTE: TEHandle);
\TEPinScroll
8
PROCEDURE TEPinScroll (dh,dv: INTEGER; hTE: TEHandle);
\TEAutoView
8
PROCEDURE TEAutoView (auto: BOOLEAN; hTE: TEHandle);
\ InitDialogs
9
PROCEDURE InitDialogs (restartProc: ProcPtr);
\ ErrorSound
9
PROCEDURE ErrorSound (soundProc: ProcPtr);
\ SetDAFont
9
PROCEDURE SetDAFont (fontNum: INTEGER); [Pascal only]
\ NewDialog
9
FUNCTION NewDialog (dStorage: Ptr; boundsRect: Rect; title: Str255;
visible: BOOLEAN; procID: INTEGER; behind: WindowPtr;
goAwayFlag: BOOLEAN; refCon: LongInt; items: Handle) :
DialogPtr;
\ GetNewDialog
9
FUNCTION GetNewDialog (dialogID: INTEGER; dStorage: Ptr; behind:
WindowPtr) : DialogPtr;
\ CloseDialog
9
PROCEDURE CloseDialog (theDialog: DialogPtr);
\ DisposDialog
9
PROCEDURE DisposDialog (theDialog: DialogPtr);
\ CouldDialog
9
PROCEDURE CouldDialog (dialogID: INTEGER);
\ FreeDialog
9
PROCEDURE FreeDialog (dialogID: INTEGER);
\ ModalDialog
9
PROCEDURE ModalDialog (filterProc: ProcPtr; VAR itemHit: INTEGER);
\ IsDialogEvent
9
FUNCTION IsDialogEvent (theEvent: EventRecord) : BOOLEAN;
\ DialogSelect
9
FUNCTION DialogSelect (theEvent: EventRecord; VAR theDialog: DialogPtr;
VAR itemHit: INTEGER) : BOOLEAN;
\ DlgCut
9
PROCEDURE DlgCut (theDialog: DialogPtr); [Pascal only]
\ DlgCopy
9
PROCEDURE DlgCopy (theDialog: DialogPtr); [Pascal only]
\ DlgPaste
9
PROCEDURE DlgPaste (theDialog: DialogPtr); [Pascal only]
\ DlgDelete
9
PROCEDURE DlgDelete (theDialog: DialogPtr); [Pascal only]
\ DrawDialog
9
PROCEDURE DrawDialog (theDialog: DialogPtr);
\ Alert
9
FUNCTION Alert (alertID: INTEGER; filterProc: ProcPtr) : INTEGER;
\ StopAlert
9
FUNCTION StopAlert (alertID: INTEGER; filterProc: ProcPtr) : INTEGER;
\ NoteAlert
9
FUNCTION NoteAlert (alertID: INTEGER; filterProcf: ProcPtr) : INTEGER;
\ CautionAlert
9
FUNCTION CautionAlert (alertID: INTEGER; filterProc: ProcPtr) :
INTEGER;
\ CouldAlert
9
PROCEDURE CouldAlert (alertID: INTEGER);
\ FreeAlert
9
PROCEDURE FreeAlert (alertID: INTEGER);
\ ParamText
9
PROCEDURE ParamText (param0,param1,param2,param3: Str255);
\ GetDItem
9
PROCEDURE GetDItem (theDialog: DialogPtr; itemNo: INTEGER; VAR type:
INTEGER; VAR item: Handle; VAR box: Rect);
\ SetDItem
9
PROCEDURE SetDItem (theDialog: DialogPtr; itemNo: INTEGER; type:
INTEGER; item: Handle; box: rect);
\ GetIText
9
PROCEDURE GetIText (item: Handle; VAR text: str255);
\ SetIText
9
PROCEDURE SetIText (item: Handle; text: Str255);
\ SelIText
9
PROCEDURE SelIText (theDialog: DIalogPtr; itemNo: INTEGER;
strtSel,endSel: INTEGER);
\ GetAlrtStage
9
FUNCTION GetAlrtStage : INTEGER; [Pascal only]
\ ResetAlrtStage
9
PROCEDURE ResetAlrtStage; [Pascal only]
\ HideDItem
9
PROCEDURE HideDItem (theDialog: DialogPtr; itemNo: INTEGER);
\ ShowDItem
9
PROCEDURE ShowDItem (theDialog: DialogPtr; itemNo: INTEGER);
\FindDItem
9
FUNCTION FindDItem (theDialog: DialogPtr; thePt: Point) : INTEGER;
\UpdtDialog
9
PROCEDURE UpdtDialog (theDialog: DialogPtr; updateRgn: RgnHandle);
\ OpenDeskAcc
10
FUNCTION OpenDeskAcc (theAcc: Str255) : INTEGER;
\ CloseDeskAcc
10
PROCEDURE CloseDeskAcc (refNum: INTEGER);
\ SystemClick
10
PROCEDURE SystemClick (theEvent: EventRecord; theWindow: WindowPtr);
\ SystemEdit
10
FUNCTION SystemEdit (editCmd: INTEGER) : BOOLEAN;
\ SystemTask
10
PROCEDURE SystemTask;
\ SystemEvent
10
FUNCTION SystemEvent (theEvent: EventRecord) : BOOLEAN;
\ SystemMenu
10
PROCEDURE SystemMenu (menuResult: LONGINT);
\ InfoScrap
11
FUNCTION InfoScrap : PScrapStuff;
\ UnloadScrap
11
FUNCTION UnloadScrap : LONGINT;
\ LoadScrap
11
FUNCTION LoadScrap : LONGINT;
\ GetScrap
11
FUNCTION GetScrap (hDest: Handle; theType: ResType; VAR offset:
LONGINT) : LONGINT;
\ ZeroScrap
11
FUNCTION ZeroScrap : LONGINT;
\ PutScrap
11
FUNCTION PutScrap (length: LONGINT; theType: ResType; source: Ptr) :
LONGINT;
\ FixRatio
12
FUNCTION FixRatio (numer,demon: INTEGER) : Fixed;
\ FixMul
12
FUNCTION FixMul (a,b: Fixed) : Fixed;
\ FixRound
12
FUNCTION FixRound (x: Fixed) : INTEGER;
\ NewString
12
FUNCTION NewString (theString: Str255) : StringHandle;
\ SetString
12
PROCEDURE SetString (h: StringHandle; theString: Str255);
\ GetString
12
FUNCTION GetString (stringID: INTEGER) : StringHandle;
\ GetIndString
12
PROCEDURE GetIndString (VAR theString: Str255; strListID: INTEGER;
Index: INTEGER); [No trap macro]
\ Munger
12
FUNCTION Munger (h: Handle; offset: LONGINT; ptrl: Ptr; lenl: LONGINT;
ptr2: Ptr; len2: LONGINT) : LONGINT;
\ PackBits
12
PROCEDURE PackBits (VAR srcPtr,DstPtr: Ptr; srcBytes: INTEGER);
\ UnpackBits
12
PROCEDURE UnpackBits (VAR SrcPtr, DstPtr: Ptr; dstBytes: Integer);
\ BitTst
12
FUNCTION BitTst (BytePtr: Ptr; bitNum: Longint): Boolean;
\ BitSet
12
PROCEDURE BitSet (BytePtr: Ptr; bitNum: Longint);
\ BitClear
12
PROCEDURE BitClear (BytePtr: Ptr; bitNum: Longint);
\ BitAnd
12
FUNCTION BitAnd (Value1, Value2: Longint): Longint;
\ BitOr
12
FUNCTION BitOr (Value1, Value2: Longint): Longint;
\ BitXor
12
FUNCTION BitXor (Value1, Value2: Longint): Longint;
\ BitNot
12
FUNCTION BitNot (Value: Longint): Longint;
\ BitShift
12
FUNCTION BitShift (Value: Longint; count: Integers): Longint;
\ HiWord
12
FUNCTION HiWord (x: Longint): Integer;
\ LoWord
12
FUNCTION LoWord (x: Longint): Integer;
\ LongMul
12
PROCEDURE LongMul (a,b: Longint; VAR dest: Int64bit);
\ ScreenRes
12
PROCEDURE ScreenRes (VAR scrnHRes, scrnVRes: Integer); [Not in ROM]
\ GetIcon
12
FUNCTION GetIcon (IconId: Integer): Handle;
\ PlotIcon
12
PROCEDURE PlotIcon (TheRect: Rect; TheIcon: Handle);
\ GetPattern
12
FUNCTION GetPattern (PatID: Integer): PatHandle;
\ GetIndPattern
12
Function GetIndPattern (VAR ThePattern: Patter; PatLisId: Integer; Index:
Integer); [Not in ROM]
\ GetCursor
12
FUNCTION GetCursor (CursorID: Integer): CursHandle;
\ ShieldCursor
12
PROCEDURE ShieldCursor (shieldRect: Rect; OffsetPt: Point);
\ GetPicture
12
FUNCTION GetPicture (PicID: Integer): PicHandle;
\ DeltaPoint
12
FUNCTION DeltaPoint (ptA, ptB: Point): Longint;
\ SlopeFromAngle
12
FUNCTION SlopeFromAngle (Angle: Integer): Fixed;
\ AngleFromSlope
12
Function AngleFromSlope (Slope: Fixed): Integer;
\ FracMul
12
FUNCTION FracMul (x,y: Fract) : Fract;
\FracDiv
12
FUNCTION FracDiv (x,y: Fract) : Fract;
\FracSqrt
12
FUNCTION FracSqrt (x: Fract) : Fract;
\FracCos
12
FUNCTION FracCos (x: Fixed) : Fract;
\FracSin
12
FUNCTION FracSin (x: Fixed) : Fract;
\FixATan2
12
FUNCTION FixATan2 (x,y: LONGINT) : Fixed;
\Long2Fix
12
FUNCTION Long2Fix (x: LONGINT) : Fixed;
\Fix2Long
12
FUNCTION Fix2Long (x: Fixed) : LONGINT;
\Fix2Frac
FUNCTION Fix2Frac (x: Fixed) : Fract;
\Frac2Fix
12
FUNCTION Frac2Fix (x: Fract) : Fixed;
\Fix2X
12
FUNCTION Fix2X (x: Fixed) : Extended;
\X2Fix
12
FUNCTION X2Fix (x: Extended) : Fixed;
\Frac2X
12
FUNCTION Frac2X (x: Fract) : Extended;
\X2Frac
12
FUNCTION X2Frac (x: Extended) : Fract;
\ InitPack
13
PROCEDURE InitPack (packID: INTEGER);
\ InitAllPacks
13
PROCEDURE InitAllPacks;
\ IUDateString
13
PROCEDURE IUDateString (dateTime: LongInt; form: DateForm; VAR result:
Str255);
\ IUDatePString
13
PROCEDURE IUDatePString (dateTime: LongInt; form: DateForm; VAR result:
Str255; intlParam: Handle);
\ IUTimeString
13
PROCEDURE IUTimeSTring (dateTime: LongInt; wantSeconds: BOOLEAN; VAR
result: Str255);
\ IUTimePString
13
PROCEDURE IUTimePString (dateTime: LongInt; wantSeconds: BOOLEAN; VAR
result: str255; intlParam: Handle);
\ IUMetric
13
FUNCTION IUMetric : BOOLEAN;
\ IUGetIntl
13
FUNCTION IUGetIntl (theID: INTEGER) : Handle;
\ IUSetIntl
13
PROCEDURE IUSetIntl (refNum: INTEGER; thefID; INTEGER; intlParam:
Handle);
\ IUCompString
13
FUNCTION IUCompString (aStr,bStr: Str255) : INTEGER; [Pascal only]
\ IUMagString
13
FUNCTION IUMagString (aPtr,bPtr: Ptr; aLen,bLen: INTEGER) : INTEGER;
\ IUEqualString
13
FUNCTION IUEqualString (aStr,bStr: Str255) : INTEGER; [Pascal only]
\ IUMagIDString
13
\ NumToString
13
PROCEDURE NumToString (theNum: LongInt; VAR theStringd: Str255);
\ StringToNum
13
PROCEDURE StringToNum (theString: Str255; VAR theNum: LongInt);
\ SFPutFile
13
PROCEDURE SFPutFile (where: Point; prompt: Str255; origName: Str255;
dlgHook: ProPtr; VAR reply: SFReply);
\ SFPPutFile
13
PROCEDURE SFPPutFile (where: Point; prompt: SStr255; origNmae: Str255;
dlgHook: ProcPtr; VAR reply: SFReply; dlgID: INTEGER;
filterProc: ProcPtr);
\ SFGetFile
13
PROCEDURE SFGetFile (where: Point; prompt: Str255; fileFilter: ProcPtr;
numTypes: INTEGER; typeList: SFTypeList;
dlgHook: ProcPtr; VAR reply: SFReply);
\ SFPGetFile
13
PROCEDURE SFPGetFile (where: Point; prompt: Str255; fileFilter:
ProcPtr; numTypes: INTEGER; typeList: SFTypeList; dlgHook:
ProcPtr; VAR reply: SFReply; dlgID: INTEGER; filterProc:
ProcPtr);
\ DILoad
13
PROCEDURE DILoad;
\ DIUnload
13
PROCEDURE DIUnload;
\ DIBadMount
13
FUNCTION DIBadMount (where: Point; evtMessage: LongInt) : INTEGER;
\ DIFormat
13
FUNCTION DIFormat (drvNum: INTEGER) : OSErr;
\ DIVerify
13
FUNCTION DIVerify (drvNum: INTEGER) : OSErr;
\ DIZero
13
FUNCTION DIZero (drvNum: INTEGER; volName: Str255) : OSErr;
\ InitApplZone
14
PROCEDURE InitApplZone;
\ SetApplBase
14
PROCEDURE SetApplBase (startPtr: Ptr);
\ InitZone
14
PROCEDURE InitZone (pGrowZone: ProcPtr; cMoreMasters: INTEGER;
limitPtr, startPtr: Ptr);
\ SetApplLimit
14
PROCEDURE SetApplLimit (zoneLimit: Ptr);
\ MoreMasters
14
PROCEDURE MoreMasters;
\ GetZone
14
FUNCTION GetZone: THz;
\ SetZone
14
PROCEDURE SetZone (hz: THz);
\ SystemZone
14
FUNCTION SystemZone : THz; [No trap macro]
\ ApplicZone
14
PROCEDURE ApplicZone : THz; [No trap macro]
\ NewHandle
14
FUNCTION NewHandle (logicalSize: Size) : Handle;
\ DisposHandle
14
PROCEDURE DisposHandle (h: Handle);
\ GetHandleSize
14
FUNCTION GetHandleSize (h: Handle) : Size;
\ SetHandleSize
14
PROCEDURE SetHandleSize (h: Handle; newSize: Size);
\ HandleZone
14
FUNCTION HandleZone (h: Handle) : THz;
\ RecoverHandle
14
FUNCTION RecoverHandle (p:Ptr) : Handle;
\ ReallocHandle
14
PROCEDURE ReallocHandle (h: Handle; logicalSize: Size);
\ NewPtr
14
FUNCTION NewPtr (logicalSize: Size) : Ptr;
\ DisposPtr
14
PROCEDURE DisposPtr (p: Ptr);
\ GetPtrSize
14
FUNCTION GetPtrSize (p: Ptr) : Size;
\ SetPtrSize
14
PROCEDURE SetPtrSize (p: Ptr; newSize: Size);
\ FreeMem
14
FUNCTION FreeMem : LONGINT;
\ MaxMem
14
FUNCTION MaxMem (VAR grow: Size) : Size;
\ CompactMem
14
FUNCTION CompactMem (cbNeeded: Size) : Size;
\ ResrvMem
14
FUNCTION ResrvMem (cbNeeded: Size);
\ PurgeMem
14
PROCEDURE PurgeMem (cbNeeded: Size);
\ EmptyHandle
14
PROCEDURE EmptyHandle (h: Handle);
\ HLock
14
PROCEDURE HLock (h: Handle);
\ HUnlock
14
PROCEDURE HUnlock (h: Handle);
14
PROCEDURE HPurge (h: Handle);
\ HNoPurge
14
PROCEDURE HNoPurge (h: Handle);
\ SetGrowZone
14
PROCEDURE SetGrowZone (growZone: ProcPtr);
\ GZCritical
14
FUNCTION GZCritical : BOOLEAN; [No trap macro]
\ GZSaveHnd
14
FUNCTION GZSaveHnd : Handle; [No trap macro]
\ BlockMove
14
PROCEDURE BlockMove (sourcePtr,destPtr: Ptr; byteCount: Size);
\ TopMem
14
FUNCTION TopMem : Ptr; [No trap macro]
\ MemError
14
FUNCTION MemError : OSErr; [No trap macro]
\MaxBlock
14
FUNCTION MaxBlock : LONGINT;
\PurgeSpace
14
PROCEDURE PurgeSpace (VAR total,contig: LONGINT);
\StackSpace
14
FUNCTION StackSpace : LONGINT;
\NewEmptyHandle
14
FUNCTION NewEmptyHandle : Handle;
\HSetRBit
14
PROCEDURE HSetRBit (h: Handle);
\HClrRBit
14
PROCEDURE HClrRBit (h: Handle);
\HGetState
14
FUNCTION HGetState (h: Handle) : SignedByte;
\HSetState
14
PROCEDURE HSetState (h: Handle; flags: SignedByte);
\ UnloadSeg
15
PROCEDURE UnloadSeg (routineAddr: Ptr);
\ CountAppFiles
15
PROCEDURE COuntAppFiles (VAR message: INTEGER; VAR count: INTEGER);
\ GetAppFiles
15
PROCEDURE GetAppFiles (index: INTEGER; VAR theFile: AppFile);
\ ClrAppFiles
15
PROCEDURE ClrAppFiles (index: INTEGER);
\ GetAppParms
15
PROCEDURE GetAppParms (VAR apName: STRING[31]; VAR apRefNum: INTEGER;
VAR apParam: Handle);
\ ExitToShell
15
PROCEDURE ExitToShell;
\ Chain
15
Chain procedure
Trap Macro _Chain
On entry (A0): Pointer to application's file name.
4(A0): Configuration of sound and screen buffer (word).
\ Launch
15
Procedure Launch
Trap Macro _Launch
On Entry (A0): Pointer to appl file's name.
4(A0): configuration of sound and screen buffers (word).
\ GetOSEvent
16
FUNCTION GetOSEvent (eventMask: INTEGER; VAR theEvent: EventRecord) :
BOOLEAN;
\ OSEventAvail
16
FUNCTION OSEventAvail (eventMask: INTEGER; VAR theEvent: EventRecord) :
BOOLEAN;
\ SetEventMask
16
PROCEDURE SetEventMask (theMask: INTEGER); [No trap macro]
\ GetEvQHdr
16
FUNCTION GetEvQHdr : QHdrPtr; [No trap macro]
\ PPostEvent
16
FUNCTION PPostEvent (eventCode: INTEGER; eventMsg: LONGINT;
VAR qEl: EvQEl) : OSErr);
\ FlushEvents
16
Procedure (eventMask, stopMask: Integer);
\ GetVInfo
17
FUNCTION GetVInfo (drvNum: INTEGER; volName: StringPtr;
VAR vRefNum: INTEGER; VAR freeBytes: LONGINT)
: OSErr; [Not in ROM]
\ GetVRefNum
17
FUNCTION GetVRefNum (pathRefNum: INTEGER; VAR vRefNum: INTEGER)
: OSErr; [Not in ROM]
\ GetVol
17
FUNCTION GetVol (volName: StringPtr; VAR vRefNum: INTEGER)
: OSErr; [Not in ROM]
\ SetVol
17
FUNCTION SetVol (volName: StringPtr; vRefNum: INTEGER)
: OSErr; [Not in ROM]
\ FlushVol
17
FUNCTION FlushVol (volName: StringPtr; vRefNum: INTEGER)
: OSErr; [Not in ROM]
\ UnmountVol
17
FUNCTION UnmountVol (volName: StringPtr; vRefNum: INTEGER)
: OSErr; [Not in ROM]
\ Eject
17
FUNCTION Eject (volName: StringPtr; vRefNum: INTEGER)
: OSErr; [Not in ROM]
\ Create
17
FUNCTION Create (fileName: Str255; vRefNum: INTEGER; creator: OSType;
fileType: OSType) : OSErr; [Not in ROM]
\ FSOpen
17
FUNCTION FSOpen (fileName: Str255; vRefNum: INTEGER; VAR refNum: INTEGER)
: OSErr; [Not in ROM]
\ FSRead
17
FUNCTION FSRead (refNum: INTEGER; VAR count: LONGINT; buffPtr: Ptr)
: OSErr; [Not in ROM]
\ FSWrite
17
FUNCTION FSWrite (refNum: INTEGER; VAR count: LONGINT; buffPtr: Ptr)
: OSErr; [Not in ROM]
\ GetFPos
17
FUNCTION GetFPos (refNum: INTEGER; VAR filePos: LONGINT)
: OSErr; [Not in ROM]
\ SetFPos
17
FUNCTION SetFPos (refNum: INTEGER; posMode: INTEGER; posOff: LONGINT)
: OSErr; [Not in ROM]
\ GEtEOF
17
FUNCTION GetEOF (refNum: INTEGER; VAR logEOF: LONGINT)
: OSErr; [Not in ROM]
GetEOF returns, in logEOF, the logical end-of-file of the open
file whose access path is specified by refNum.
Result codes noErr No error
extFSErr External file system
fnOpnErr File not open
ioErr I/O error
rfNumErr Bad reference number
\ SetEOF
17
FUNCTION SetEOF (refNum: INTEGER; logEOF: LONGINT)
: OSErr; [Not in ROM]
\ Allocate
17
FUNCTION Allocate (refNum: INTEGER; VAR count: LONGINT)
: OSErr; [Not in ROM]
\ FSClose
17
FUNCTION FSClose (refNum: INTEGER) : OSErr; [Not in ROM]
\ GetFInfo
17
FUNCTION GetFInfo (fileName: Str255; vRefNum: INTEGER; VAR
fndrInfo: FInfo) : OSErr; [Not in ROM]
\ SetFInfo
17
FUNCTION SetFInfo (fileName: Str255; vRefNum: INTEGER;
fndrInfo: FInfo) : OSErr; [Not in ROM]
\ SetFLock
17
FUNCTION SetFLock (fileName: Str255; vRefNum: INTEGER)
: OSErr; [Not in ROM]
\ RstFLock
17
FUNCTION RstFLock (fileName: Str255; vRefNum: INTEGER)
: OSErr; [Not in ROM]
\ Rename
17
FUNCTION Rename (oldName: Str255; vRefNum: INTEGER; newName: Str255)
: OSErr; [Not in ROM]
\ FSDelete
17
FUNCTION FSDelete (fileName: Str255; vRefNum: INTEGER)
: OSErr; [Not in ROM]
\ OpenRF
17
FUNCTION OpenRF (fileName: Str255; vRefNum: INTEGER;
VAR refNum: INTEGER) : OSErr; [Not in ROM]
\ FInitQueue
17
PROCEDURE InitQueue;
\ PBMountVol
17
FUNCTION PBMountVol (paramBlock: ParmBlkPtr) : OSErr;
Trap macro _MountVol
Parameter block
<╤ 16 ioResult word
<╨> 22 ioVRefNum word
\ PBGetVInfo
17
FUNCTION PBGetVInfo (paramBlock: ParmBlkPtr; async: BOOLEAN) : OSErr;
Trap macro _GetVolInfo
Parameter block
╤> 12 ioCompletion pointer
<╤ 16 ioResult word
<╨> 18 ioNamePtr pointer
<╨> 22 ioVRefNum word
╤> 28 ioVolIndex word
<╤ 30 ioVCrDate long word
<╤ 34 ioVLsBkUp long word
<╤ 38 ioVAtrb word
<╤ 40 ioVNmFls word
<╤ 42 ioVDirSt word
<╤ 44 ioVBlLn word
<╤ 46 ioVNmAlBlks word
<╤ 48 ioVAlBlkSiz long word
<╤ 52 ioVClpSiz long word
<╤ 56 ioAlBlSt word
<╤ 58 ioVNxtFNum long word
<╤ 62 ioVFrBlk word
\ PBHGetVInfo
17
FUNCTION PBHGetVInfo (paramBlock: HParmBlkPtr; async: BOOLEAN) : OSErr;
Trap macro _HGetVInfo
Parameter block
╤> 12 ioCompletion pointer
<╤ 16 ioResult word
<╨> 18 ioNamePtr pointer
<╨> 22 ioVRefNum word
╤> 28 ioVolIndex word
<╤ 30 ioVCrDate long word
<╤ 34 ioVLsMod long word
<╤ 38 ioVAtrb word
<╤ 40 ioVNmFls word
<╤ 42 ioVBitMap word
<╤ 44 ioVAllocPtr word
<╤ 46 ioVNmAlBlks word
<╤ 48 ioVAlBlkSiz long word
<╤ 52 ioVClpSiz long word
<╤ 56 ioAlBlSt word
<╤ 58 ioVNxtFNum long word
<╤ 62 ioVFrBlk word
<╤ 64 ioVSigWord word
<╤ 66 ioVDrvInfo word
<╤ 68 ioVDRefNum word
<╤ 70 ioVFSID word
<╤ 72 ioVBkUp long word
<╤ 76 ioVSeqNum word
<╤ 78 ioVWrCnt long word
<╤ 82 ioVFilCnt long word
<╤ 86 ioVDirCnt long word
<╤ 90 ioVFndrInfo 32 bytes
\ PBSetVInfo
17
FUNCTION PBSetVInfo (paramBlock: HParmBlkPtr; async: BOOLEAN) : OSErr;
Trap macro _SetVolInfo
Parameter block
╤> 12 ioCompletion pointer
<╤ 16 ioResult word
╤> 18 ioNamePtr pointer
╤> 22 ioVRefNum word
╤> 30 ioVCrDate long word
╤> 34 ioVLsMod long word
╤> 38 ioVAtrb word
╤> 52 ioVClpSiz long word
╤> 72 ioVBkUp long word
╤> 76 ioVSeqNum word
╤> 90 ioVFndrInfo 32 bytes
\ PBGetVol
17
FUNCTION PBGetVol (paramBlock: ParmBlkPtr; async: BOOLEAN) : OSErr;
Trap macro _GetVol
Parameter block
╤> 12 ioCompletion pointer
<╤ 16 ioResult word
<╤ 18 ioNamePtr pointer
<╤ 22 ioVRefNum word
\ PBHGetVol
17
FUNCTION PBHGetVol (paramBlock: WDPBPtr; async: BOOLEAN) : OSErr;
Trap macro _HGetVol
Parameter block
╤> 12 ioCompletion pointer
<╤ 16 ioResult word
<╤ 18 ioNamePtr pointer
<╤ 22 ioVRefNum word
<╤ 28 ioWDProcID long word
<╤ 32 ioWDVRefNum word
<╤ 48 ioWDDirID long word
\ PBSetVol
17
FUNCTION PBSetVol (paramBlock: ParmBlkPtr; async: BOOLEAN) : OSErr;
Trap macro _SetVol
Parameter block
╤> 12 ioCompletion pointer
<╤ 16 ioResult word
╤> 18 ioNamePtr pointer
╤> 22 ioVRefNum word
\ PBHSetVol
17
FUNCTION PBHSetVol (paramBlock: WDPBPtr; async: BOOLEAN) : OSErr;
Trap macro _HSetVol
Parameter block
╤> 12 ioCompletion pointer
<╤ 16 ioResult word
╤> 18 ioNamePtr pointer
╤> 22 ioVRefNum word
╤> 48 ioWDDirID long word
\ PBFlushVol
17
FUNCTION PBFlushVol (paramBlock: ParmBlkPtr; async: BOOLEAN) : OSErr;
Trap macro _FlushVol
Parameter block
╤> 12 ioCompletion pointer
<╤ 16 ioResult word
╤> 18 ioNamePtr pointer
╤> 22 ioVRefNum word
\ PBUnmountVol
17
FUNCTION PBUnmountVol (paramBlock: ParmBlkPtr) : OSErr;
Trap macro _UnmountVol
Parameter block
<╤ 16 ioResult word
╤> 18 ioNamePtr pointer
╤> 22 ioVRefNum word
\ PBOffLine
17
FUNCTION PBOffLine (paramBlock: ParmBlkPtr) : OSErr;
Trap macro _OffLine
Parameter block
╤> 12 ioCompletion pointer
<╤ 16 ioResult word
╤> 18 ioNamePtr pointer
╤> 22 ioVRefNum word
\ PBEject
17
FUNCTION PBEject (paramBlock: ParmBlkPtr) : OSErr;
Trap macro _Eject
Parameter block
╤> 12 ioCompletion pointer
<╤ 16 ioResult word
╤> 18 ioNamePtr pointer
╤> 22 ioVRefNum word
\ PBOpen
17
FUNCTION PBOpen (paramBlock: ParmBlkPtr; async: BOOLEAN) : OSErr;
Trap macro _Open
Parameter block
╤> 12 ioCompletion pointer
<╤ 16 ioResult word
╤> 18 ioNamePtr pointer
╤> 22 ioVRefNum word
<╤ 24 ioRefNum word
╤> 26 ioVersNum byte
╤> 27 ioPermssn byte
╤> 28 ioMisc pointer
\ PBHOpen
17
FUNCTION PBHOpen (paramBlock: HParmBlkPtr; async: BOOLEAN) : OSErr;
Trap macro _HOpen
Parameter block
╤> 12 ioCompletion pointer
<╤ 16 ioResult word
╤> 18 ioNamePtr pointer
╤> 22 ioVRefNum word
<╤ 24 ioRefNum word
╤> 27 ioPermssn byte
╤> 28 ioMisc pointer
╤> 48 ioDirID long word
\ PBOpenRF
17
FUNCTION PBOpenRF (paramBlock: ParmBlkPtr; async: BOOLEAN) : OSErr;
Trap macro _OpenRF
Parameter block
╤> 12 ioCompletion pointer
<╤ 16 ioResult word
╤> 18 ioNamePtr pointer
╤> 22 ioVRefNum word
<╤ 24 ioRefNum word
╤> 26 ioVersNum byte
╤> 27 ioPermssn byte
╤> 28 ioMisc pointer
\ PBHOpenRF
17
FUNCTION PBHOpenRF (paramBlock: HParmBlkPtr; async: BOOLEAN) : OSErr;
Trap macro _HOpenRF
Parameter block
╤> 12 ioCompletion pointer
<╤ 16 ioResult word
╤> 18 ioNamePtr pointer
╤> 22 ioVRefNum word
<╤ 24 ioRefNum word
╤> 27 ioPermssn byte
╤> 28 ioMisc pointer
╤> 48 ioDirID long word
\ PBLockRange
17
FUNCTION PBLockRange (paramBlock: ParmBlkPtr; async: BOOLEAN) : OSErr;
Trap macro _LockRng
Parameter block
╤> 12 ioCompletion pointer
<╤ 16 ioResult word
╤> 24 ioRefNum word
╤> 36 ioReqCount long word
╤> 44 ioPosMode word
╤> 46 ioPosOffset long word
\ PBUnlockRange
17
FUNCTION PBUnlockRange (paramBlock: ParmBlkPtr; async: BOOLEAN) : OSErr;
Trap macro _UnlockRng
Parameter block
╤> 12 ioCompletion pointer
<╤ 16 ioResult word
╤> 24 ioRefNum word
╤> 36 ioReqCount long word
╤> 44 ioPosMode word
╤> 46 ioPosOffset long word
\ PBRead
17
FUNCTION PBRead (paramBlock: ParmBlkPtr; async: BOOLEAN) : OSErr;
Trap macro _Read
Parameter block
╤> 12 ioCompletion pointer
<╤ 16 ioResult word
╤> 24 ioRefNum word
╤> 32 ioBuffer pointer
╤> 36 ioReqCount long word
<╤ 40 ioActCount long word
╤> 44 ioPosMode word
<╨> 46 ioPosOffset long word
\ PBWrite
17
FUNCTION PBWrite (paramBlock: ParmBlkPtr; async: BOOLEAN) : OSErr;
Trap macro _Write
Parameter block
╤> 12 ioCompletion pointer
<╤ 16 ioResult word
╤> 24 ioRefNum word
╤> 32 ioBuffer pointer
╤> 36 ioReqCount long word
<╤ 40 ioActCount long word
╤> 44 ioPosMode word
<╨> 46 ioPosOffset long word
\ PBGetFPos
17
FUNCTION PBGetFPos (paramBlock: ParmBlkPtr; async: BOOLEAN) : OSErr;
Trap macro _GetFPos
Parameter block
╤> 12 ioCompletion pointer
<╤ 16 ioResult word
╤> 24 ioRefNum word
<╤ 36 ioReqCount long word
<╤ 40 ioActCount long word
<╤ 44 ioPosMode word
<╤ 46 ioPosOffset long word
\ PBSetFPos
17
FUNCTION PBSetFPos (paramBlock: ParmBlkPtr; async: BOOLEAN) : OSErr;
Trap macro _SetFPos
Parameter block
╤> 12 ioCompletion pointer
<╤ 16 ioResult word
╤> 24 ioRefNum word
╤> 44 ioPosMode word
<╨> 46 ioPosOffset long word
\ PBGetEOF
17
FUNCTION PBGetEOF (paramBlock: ParmBlkPtr; async: BOOLEAN) : OSErr;
Trap macro _GetEOF
Parameter block
╤> 12 ioCompletion pointer
<╤ 16 ioResult word
╤> 24 ioRefNum word
<╤ 28 ioMisc long word
\ PBSetEOF
17
FUNCTION PBSetEOF (paramBlock: ParmBlkPtr; async: BOOLEAN) : OSErr;
Trap macro _SetEOF
Parameter block
╤> 12 ioCompletion pointer
<╤ 16 ioResult word
╤> 24 ioRefNum word
╤> 28 ioMisc long word
\ PBAllocate
17
FUNCTION PBAllocate (paramBlock: ParmBlkPtr; async: BOOLEAN) : OSErr;
Trap macro _Allocate
Parameter block
╤> 12 ioCompletion pointer
<╤ 16 ioResult word
╤> 24 ioRefNum word
╤> 36 ioReqCount long word
<╤ 40 ioActCount long word
\ PBAllocContig
17
FUNCTION PBAllocContig (paramBlock: ParmBlkPtr; async: BOOLEAN) : OSErr;
Trap macro _AllocContig
Parameter block
╤> 12 ioCompletion pointer
<╤ 16 ioResult word
╤> 24 ioRefNum word
╤> 36 ioReqCount long word
<╤ 40 ioActCount long word
\ PBFlushFile
17
FUNCTION PBFlushFile (paramBlock: ParmBlkPtr; async: BOOLEAN) : OSErr;
Trap macro _FlushFile
Parameter block
╤> 12 ioCompletion pointer
<╤ 16 ioResult word
╤> 24 ioRefNum word
\ PBClose
17
FUNCTION PBClose (paramBlock: ParmBlkPtr; async: BOOLEAN) : OSErr;
Trap macro _Close
Parameter block
╤> 12 ioCompletion pointer
<╤ 16 ioResult word
╤> 24 ioRefNum word
\ PBCreate
17
FUNCTION PBCreate (paramBlock: ParmBlkPtr; async: BOOLEAN) : OSErr;
Trap macro _Create
Parameter block
╤> 12 ioCompletion pointer
<╤ 16 ioResult word
╤> 18 ioNamePtr pointer
╤> 22 ioVRefNum word
╤> 26 ioFVersNum byte
\ PBHCreate
17
FUNCTION PBHCreate (paramBlock: HParmBlkPtr; async: BOOLEAN) : OSErr;
Trap macro _HCreate
Parameter block
╤> 12 ioCompletion pointer
<╤ 16 ioResult word
╤> 18 ioNamePtr pointer
╤> 22 ioVRefNum word
╤> 48 ioDirID long word
\ PBDirCreate
17
FUNCTION PBDirCreate (paramBlock: HParmBlkPtr; async: BOOLEAN): OSErr;
Trap macro _DirCreate
Parameter block
╤> 12 ioCompletion pointer
<╤ 16 ioResult word
<╨> 18 ioNamePtr pointer
╤> 22 ioVRefNum word
<╨> 48 ioDirID long word
\ PBDelete
17
FUNCTION PBDelete (paramBlock: ParmBlkPtr; async: BOOLEAN) : OSErr;
Trap macro _Delete
Parameter block
╤> 12 ioCompletion pointer
<╤ 16 ioResult word
╤> 18 ioNamePtr pointer
╤> 22 ioVRefNum word
╤> 26 ioFVersNum byte
\ PBHDelete
17
FUNCTION PBHDelete (paramBlock: HParmBlkPtr; async: BOOLEAN) : OSErr;
Trap macro _HDelete
Parameter block
╤> 12 ioCompletion pointer
<╤ 16 ioResult word
╤> 18 ioNamePtr pointer
╤> 22 ioVRefNum word
╤> 48 ioDirID long word
\ PBGetFInfo
17
FUNCTION PBGetFInfo (paramBlock: ParmBlkPtr; async: BOOLEAN) : OSErr;
Trap macro _GetFileInfo
Parameter block
╤> 12 ioCompletion pointer
<╤ 16 ioResult word
<╨> 18 ioNamePtr pointer
╤> 22 ioVRefNum word
<╤ 24 ioFRefNum word
╤> 26 ioFVersNum byte
╤> 28 ioFDirIndex word
<╤ 30 ioFlAttrib byte
<╤ 31 ioFlVersNum byte
<╤ 32 ioFlFndrInfo 16 bytes
<╤ 48 ioFlNum long word
<╤ 52 ioFlStBlk word
<╤ 54 ioFlLgLen long word
<╤ 58 ioFlPyLen long word
<╤ 62 ioFlRStBlk word
<╤ 64 ioFlRLgLen long word
<╤ 68 ioFlRPyLen long word
<╤ 72 ioFlCrDat long word
<╤ 76 ioFlMdDat long word
\ PBHGetFInfo
17
FUNCTION PBHGetFInfo (paramBlock: HParmBlkPtr; async: BOOLEAN) : OSErr;
Trap macro _HGetFileInfo
Parameter block
╤> 12 ioCompletion pointer
<╤ 16 ioResult word
<╨> 18 ioNamePtr pointer
╤> 22 ioVRefNum word
<╤ 24 ioFRefNum word
╤> 28 ioFDirIndex word
<╤ 30 ioFlAttrib byte
<╤ 32 ioFlFndrInfo 16 bytes
<╨> 48 ioDirID long word
<╤ 52 ioFlStBlk word
<╤ 54 ioFlLgLen long word
<╤ 58 ioFlPyLen long word
<╤ 62 ioFlRStBlk word
<╤ 64 ioFlRLgLen long word
<╤ 68 ioFlRPyLen long word
<╤ 72 ioFlCrDat long word
<╤ 76 ioFlMdDat long word
\ PBSetFInfo
17
FUNCTION PBSetFInfo (paramBlock: ParmBlkPtr; async: BOOLEAN) : OSErr;
Trap macro _SetFileInfo
Parameter block
╤> 12 ioCompletion pointer
<╤ 16 ioResult word
╤> 18 ioNamePtr pointer
╤> 22 ioVRefNum word
╤> 26 ioFVersNum byte
╤> 32 ioFlFndrInfo 16 bytes
╤> 72 ioFlCrDat long word
╤> 76 ioFlMdDat long word
\ PBHSetFInfo
17
FUNCTION PBHSetFInfo (paramBlock: HParmBlkPtr; async: BOOLEAN) : OSErr;
Trap macro _HSetFileInfo
Parameter block
╤> 12 ioCompletion pointer
<╤ 16 ioResult word
╤> 18 ioNamePtr pointer
╤> 22 ioVRefNum word
╤> 32 ioFlFndrInfo 16 bytes
╤> 48 ioDirID long word
╤> 72 ioFlCrDat long word
╤> 76 ioFlMdDat long word
\ PBSetFLock
17
FUNCTION PBSetFLock (paramBlock: ParmBlkPtr; async: BOOLEAN) : OSErr;
Trap macro _SetFilLock
Parameter block
╤> 12 ioCompletion pointer
<╤ 16 ioResult word
╤> 18 ioNamePtr pointer
╤> 22 ioVRefNum word
╤> 26 ioFVersNum byte
\ PBHSetFLock
17
FUNCTION PBHSetFLock (paramBlock: HParmBlkPtr; async: BOOLEAN) : OSErr;
Trap macro _HSetFLock
Parameter block
╤> 12 ioCompletion pointer
<╤ 16 ioResult word
╤> 18 ioNamePtr pointer
╤> 22 ioVRefNum word
╤> 48 ioDirID long word
\ PBRstFLock
17
FUNCTION PBRstFLock (paramBlock: ParmBlkPtr; async: BOOLEAN) : OSErr;
Trap macro _RstFilLock
Parameter block
╤> 12 ioCompletion pointer
<╤ 16 ioResult word
╤> 18 ioNamePtr pointer
╤> 22 ioVRefNum word
╤> 26 ioFVersNum byte
\ PBHRstFLock
17
FUNCTION PBHRstFLock (paramBlock: HParmBlkPtr; async: BOOLEAN) : OSErr;
Trap macro _HRstFLock
Parameter block
╤> 12 ioCompletion pointer
<╤ 16 ioResult word
╤> 18 ioNamePtr pointer
╤> 22 ioVRefNum word
╤> 48 ioDirID long word
\ PBSetFVers
17
FUNCTION PBSetFVers (paramBlock: ParmBlkPtr; async: BOOLEAN) : OSErr;
Trap macro _SetFilType
Parameter block
╤> 12 ioCompletion pointer
<╤ 16 ioResult word
╤> 18 ioNamePtr pointer
╤> 22 ioVRefNum word
╤> 26 ioVersNum byte
╤> 28 ioMisc byte
\ PBRename
17
FUNCTION PBRename (paramBlock: ParmBlkPtr; async: BOOLEAN) : OSErr;
Trap macro _Rename
Parameter block
╤> 12 ioCompletion pointer
<╤ 16 ioResult word
╤> 18 ioNamePtr pointer
╤> 22 ioVRefNum word
╤> 26 ioVersNum byte
╤> 28 ioMisc pointer
\ PBHRename
17
FUNCTION PBHRename (paramBlock: HParmBlkPtr; async: BOOLEAN) : OSErr;
Trap macro _HRename
Parameter block
╤> 12 ioCompletion pointer
<╤ 16 ioResult word
╤> 18 ioNamePtr pointer
╤> 22 ioVRefNum word
╤> 28 ioMisc pointer
╤> 48 ioDirID long word
\ PBGetCatInfo
17
FUNCTION PBGetCatInfo (paramBlock: CInfoPBPtr; async: BOOLEAN): OSErr;
Trap macro _GetCatInfo
Parameter block
Files: Directories:
╤> 12 ioCompletion pointer ╤> 12 ioCompletion pointer
<╤ 16 ioResult word <╤ 16 ioResult word
<╨> 18 ioNamePtr pointer <╨> 18 ioNamePtr pointer
╤> 22 ioVRefNum word ╤> 22 ioVRefNum word
<╤ 24 ioFRefNum word <╤ 24 ioFRefNum word
╤> 28 ioFDirIndex word ╤> 28 ioFDirIndex word
<╤ 30 ioFlAttrib byte <╤ 30 ioFlAttrib byte
<╤ 32 ioFlFndrInfo 16 bytes<╤ 32 ioDrUsrWds 16 bytes
<╨> 48 ioDirID long <╨> 48 ioDrDirID long
<╤ 52 ioFlStBlk word <╤ 52 ioDrNmFls word
<╤ 54 ioFlLgLen long
<╤ 58 ioFlPyLen long
<╤ 62 ioFlRStBlk word
<╤ 64 ioFlRLgLen long
<╤ 68 ioFlRPyLen long
<╤ 72 ioFlCrDat long <╤ 72 ioDrCrDat long
<╤ 76 ioFlMdDat long <╤ 76 ioDrMdDat long
<╤ 80 ioFlBkDat long <╤ 80 ioDrBkDat long
<╤ 84 ioFlXFndrInfo 16 bytes<╤ 84 ioDrFndrInfo 16 bytes
<╤ 100 ioFlParID long <╤ 100 ioDrParID long
<╤ 104 ioFlClpSiz long
\ PBSetCatInfo
17
FUNCTION PBSetCatInfo (paramBlock: CInfoPBPtr; async: BOOLEAN) : OSErr;
Trap macro _SetCatInfo
Parameter block
Files: Directories:
╤> 12 ioCompletion pointer ╤> 12 ioCompletion pointer
<╤ 16 ioResult word <╤ 16 ioResult word
<╨> 18 ioNamePtr pointer <╨> 18 ioNamePtr pointer
╤> 22 ioVRefNum word ╤> 22 ioVRefNum word
╤> 30 ioFlAttrib byte ╤> 30 ioFlAttrib byte
╤> 32 ioFlFndrInfo 16 bytes╤> 32 ioDrUsrWds 16 bytes
╤> 48 ioDirID long ╤> 48 ioDrDirID long
╤> 72 ioFlCrDat long ╤> 72 ioDrCrDat long
╤> 76 ioFlMdDat long ╤> 76 ioDrMdDat long
╤> 80 ioFlBkDat long ╤> 80 ioDrBkDat long
╤> 84 ioFlXFndrInfo 16 bytes╤> 84 ioDrFndrInfo 16 bytes
╤> 104 ioFlClpSiz long
\ PBCatMove
17
FUNCTION PBCatMove (paramBlock: CMovePBPtr; async: BOOLEAN) : OSErr;
Trap macro _CatMove
Parameter block
╤> 12 ioCompletion pointer
<╤ 16 ioResult word
╤> 18 ioNamePtr pointer
╤> 22 ioVRefNum word
╤> 28 ioNewName pointer
╤> 36 ioNewDirID long word
╤> 48 ioDirID long word
\ PBOpenWD
17
FUNCTION PBOpenWD (paramBlock: WDPBPtr; async: BOOLEAN) : OSErr;
Trap macro _OpenWD
Parameter block
╤> 12 ioCompletion pointer
<╤ 16 ioResult word
╤> 18 ioNamePtr pointer
<╨> 22 ioVRefNum word
╤> 28 ioWDProcID long word
╤> 48 ioWDDirID long word
\ PBCloseWD
17
FUNCTION PBCloseWD (paramBlock: WDPBPtr; async: BOOLEAN) : OSErr;
Trap macro _CloseWD
Parameter block
╤> 12 ioCompletion pointer
<╤ 16 ioResult word
╤> 22 ioVRefNum word
\ PBGetWDInfo
17
FUNCTION PBGetWDInfo (paramBlock: WDPBPtr; async: BOOLEAN) : OSErr;
Trap macro _GetWDInfo
Parameter block
╤> 12 ioCompletion pointer
<╤ 16 ioResult word
<╤ 18 ioNamePtr pointer
<╨> 22 ioVRefNum word
╤> 26 ioWDIndex word
<╨> 28 ioWDProcID long word
<╨> 32 ioWDVRefNum word
<╤ 48 ioWDDirID long word
\ PrOpen
18
PROCEDURE PrOpen;
\ PrClose
18
PROCEDURE PrClose;
\ PrintDefault
18
PROCEDURE PrintDefault (hPrint: THPrint);
\ PrValidate
18
FUNCTION PrValidate (hPrint: THPrint) : BOOLEAN;
\ PrStlDialog
18
FUNCTION PrStlDialog (hPring: THPrint) : BOOLEAN;
\ PrJobDialog
18
FULNCTION PrJobDialog (hPrint: THPrint) : BOOLEAN;
\ PrJobMerge
18
PROCEDURE PrJobMerge (hPringSrc,hPrintDst: THPrint):
\ PrOpenDoc
18
FUNCTION PrOpenDoc (hPrint: THPrint; pPrPort: TPPrPort; pIOBuf: Ptr)
: TPPrPort;
\ PrOpenPage
18
PROCEDURE PrOpenPage (pPrPort: TPPrPort; pPageFrame: TPRect);
\ PrClosePage
18
PROCEDURE PrClosePage (pPrPort: TPPrPort);
\ PrCloseDoc
18
PROCEDURE PrCloseDoc (pPrPort: TPPrPort);
\ PrPicFile
18
PROCEDURE PrPicFile (hPrint: THPrint; pPrPort: TPPrPort; pIOBuf: Ptr;
pDevBuf: Ptr; VAR prStatus: TPrStatus);
\ PrError
18
FUNCTION PrError : INTEGER; [Pascal only]
\ PrSetError
18
PROCEDURE PrSetError (iErr: INTEGER); [Pascal Only]
\ PrDrvrOpen
18
PROCEDURE PrDrvrOpen;
\ PrDrvrClose
18
PROCEDURE PrDrvrClose;
\ PrCtlCall
18
PROCEDURE PrCtlCall (iWhichCtl: INTEGER; lParam1,lParam2,lParam3):
LongInt);
\ PrDrvrDCE
18
FUNCTION PrDrvrDCE : Handle;
\ PrDrvrVers
18
FUNCTION PrDrvrVers : INTEGER;
\ PrNoPurge
18
PROCEDURE PrNoPurge;
\ PrPurge
18
PROCEDURE PrPurge;
\ OpenDriver
19
FUNCTION OpenDriver (name: Str255; VAR refNum: INTEGER) : OSErr;
\ CloseDriver
19
FUNCTION CloseDriver (refNum: INTEGER) : OSErr;
\ FSRead
19
FUNCTION FSRead (refNum: INTEGER; VARcount: LongInt; buffPtr: Ptr) :
OSErr;
\ FSWrite
19
FUNCTION FSWrite (refNum: INTEGR; VARcount: LongInt; buffPtr: Ptr) :
OSErr;
\ Control
19
FUNCTION COntrol (refNum: INTEGER; csCode: INTEGER; csParam: Ptr):
OSErr;
\ Status
19
FUNCTION Status (refNum: INTEGER; csCode: INTEGER; csParam: Ptr) :
OSErr;
\ KillIO
19
FUNCTION KillIO (refNum: INTEGER) : OSErr;
\ PBOpen
19
FUNCTION PBOpen (paramBlock: ParmBlkPtr; async: BOOLEAN) : OSErr;
Trap macro _Open
Parameter block
--> 12 ioCompletion pointer
<-- 16 ioResult word
--> 18 ioNamePtr pointer
<-- 24 ioRefNum word
--> 27 ioPermssn byte
\ PBClose
19
FUNCTION PBCLose (paramBlock: ParmBlkPtr; async: BOOLEAN) : OSErr;
Trap macro _Close
Parameter block
--> 12 ioCompletion pointer
<-- 16 ioResult word
--> 24 ioRefNum word
\ PBRead
19
FUNCTION PBRead (paramBlock: ParmBlkPtr; async: BOOLEAN) : OSErr;
Trap macro _Read
Parameter block
╤> 12 ioCompletion pointer
<╤ 16 ioResult word
╤> 24 ioRefNum word
╤> 32 ioBuffer pointer
╤> 36 ioReqCount long word
<╤ 40 ioActCount long word
╤> 44 ioPosMode word
<╨> 46 ioPosOffset long word
\ PBWrite
19
FUNCTION PBWrite (paramBlock: ParmBlkPtr; async: BOOLEAN) : OSErr;
Trap macro _Write
Parameter block
--> 12 ioCompletion pointer
<-- 16 ioResult word
--> 24 ioRefNum word
--> 32 ioBuffer pointer
--> 36 ioReqCount long word
<-- 40 ioActCount long word
--> 44 ioPosMode word
--> 46 ioPosOffset long word
\ PBControl
19
FUNCTION PBControl (paramBlock: ParmBlkPtr; async: BOOLEAN) : OSErr;
Trap macro _Control
Parameter block
--> 12 ioCompletion pointer
<-- 16 ioResult word
--> 24 ioRefNum word
--> 26 csCode word
--> 28 csParam record
\ PBStatus
19
FUNCTION PBStatus (paramBlock: ParmBlkPtr; async: BOOLEAN) : OSErr;
Trap macro _Status
Parameter block
--> 12 ioCompletion pointer
<-- 16 ioResult word
--> 24 ioRefNum word
--> 26 csCode word
--> 28 csParam record
\ PBKillIO
19
FUNCTION PBKillIO (paramBlock: ParmBlkPtr; async: BOOLEAN) : OSErr;
Trap macro _KillIO
Parameter block
--> 12 ioCompletion pointer
<-- 16 ioResult word
--> 24 ioRefNum word
\ DiskEject
20
FUNCTION DiskEject (drvNum: INTEGER) : OSErr;
\ SetTagBuffer
20
FUNCTION SetTagBuffer (buffPtr: Ptr) : OSErr;
\ DriveStatus
20
FUNCTION DriveStatus (drvNum: INTEGER; VAR status: DrvSts) : OSErr;
\ StartSound
21
PROCEDURE StartSound (synthRec: Ptr; numBytes: LONGINT; completionRtn:
ProcPtr);
\ StopSound
21
PROCEDURE StopSound;
\ SoundDone
21
FUNCTION SoundDone : BOOLEAN;
\ GetSoundVol
21
PROCEDURE GetSoundVol (VAR level: INTEGER);
\ RAMSDOpen
22
FUNCTION RAMSDOpen (whichPort: SPortSel; rsrcType: OSType; rsrcID:
INTEGER) : OSErr;
\ RAMSDClose
22
PROCEDURE RAMSDClose (whichPort: SPortSel);
\ SerReset
22
FUNCTION SerReset (refNum: INTEGER; serConfig: INTEGER) : OSErr;
\ SerSetBuf
22
FUNCTION SerSetBuf (refNum: INTEGER; serBPtr: Ptr; serBLen: INTEGER) :
OSErr;
\ SerHShake
22
FUNCTION SerHShake (refNum: INTEGER; flags: SerShk) : OSErr;
\ SerSetBrk
22
FUNCTION SerSetBrk (refNum: INTEGER) : OSErr;
\ SerClrBrk
22
FUNCTION SerClrBrk (refNumk: INTEGER) : OSErr;
\ SerGetBuf
22
FUNCTION SerGetBuf (refNum: INTEGER; VAR count: LONGILNT) ; OSErr;
\ SerErrFlag
22
FUNCTION SerErrFlag (refNum: INTEGER; VAR serSta: SerStaRec) : OSErr;
\ MPPOpen
23
FUNCTION MPPOpen : OSErr; [Not in ROM]
\ MPPClose
23
FUNCTION MPPClose : OSErr; [Not in ROM]
\ LAPOpenProtocol
23
FUNCTION LAPOpenProtocol (theLAPType: ABBYte; protoPtr: Ptr) : OSErr;
\ LAPWrite
23
FUNCTION LAPWrite (abRecord: ABRecHandle; async: BOOLEAN) : OSErr;
\ LAPRead
23
FUNCTION LAPRead (abRecord: ABRecHandle; async: BOOLEAN) : OSErr;
\ LAPRdCancel
23
FUNCTION LAPRdCancel (abRecord: ABRecHandle) : OSErr; [Not in ROM]
\ DDPOpenSocket
23
FUNCTION DDPOpenSocket (VAR theSocket: Byte; sktListener: Ptr) : OSErr;
\ DDPCloseSocket
23
FUNCTION DDPCloseSocket (theSocket: Byte) : OSErr; [Not in ROM]
\ DDPWrite
23
FUNCTION DDPWrite (abRecord: ABRecfHandle; doChecksum: BOOLEAN; async:
BOOLEAN) : OSErr; [Not in ROM]
\ DDPRead
23
FUNCTION DPRead (abRecord: ABRecfHandle; retChecksum: BOOLEAN; async:
BOOLEAN) : OSErr; [Not in ROM]
\ DDPRdCancel
23
FUNCTION DDPRdCancel (abRecord: ABRecHandle) : OSErr; [Not in ROM]
\ ATPLoad
23
FUNCTION ATPLoad : OSErr; [Not in ROM]
\ ATPUnload
23
FUNCTION ATPUnload : OSErr; [Not in ROM]
\ ATPOpenSocket
23
FUNCTION ATPOpenSocket (addrRcvd: AddrBlock; VAR atpSocket: Byte) :
OSErr; [Not in ROM]
\ ATPCloseSocket
23
FUNCTION ATPCLoseSocket (atpSocket: Byte) : OSErr; [Not in ROM]
\ ATPSndRequest
23
FUNCTION ATPSndRequest (abRecord: ABRecHandle; async: BOOLEAN) : OSErr;
\ ATPRequest
23
FUNCTION ATPRequest (abRecord: ABRecHandle; async: BOOLEAN) : OSErr;
\ ATPReqCancel
23
FUNCTION ATPReqCancel (abRecord: ABRecHandle; async: BOOLEAN) : OSErr;
\ ATPGetRequest
23
FUNCTION ATPGetRequest (abRecord: ABRecHandle; async: BOOLEAN) :
\ ATPSndRsp
23
FUNCTION ATPSndRsp (abRecord: ABRecHandle; async: BOOLEAN) :
OSErr; [Not in ROM]
\ ATPAddRsp
23
FUNCTION ATPAddRsp (abRecord: ABRecHandle): OSErr; [Not in ROM]
\ ATPResponse
23
FUNCTION ATPResponse (abRecord: ABRecHandle; async: BOOLEAN) :
OSErr; [Not in ROM]
\ ATPRspCancel
23
FUNCTION ATPRspCancel (abRecord: ABRecHandle; async: BOOLEAN) :
OSErr; [Not in ROM]
\ NBPRegister
23
FUNCTION NBPRegister (abRecord: ABRecHandle; async: BOOLEAN) :
OSErr; [Not in ROM]
\ NBPLookup
23
FUNCTION NBPLookup (abRecord: ABRecHandle; async: BOOLEAN) :
OSErr; [Not in ROM]
\ NBPExtract
23
FUNCTION NBPExtract (theBuffer: Ptr; numInBuf: INTEGER; whichOne:
INTEGER; VAR abEntityName; VAR address: AddrBlock)
: OSErr; [Not in ROM]
\ NBPConfirm
23
FUNCTION NBPConfirm (abRecord: ABRecHandle; async: BOOLEAN) :
OSErr; [Not in ROM]
\ NBPRemove
23
FUNCTION NBPRemove (abEntity: EntityPtr) : OSErr; [Not in ROM]
\ NBPLoad
23
FUNCTION NBPLoad : OSErr; [Not in ROM]
\ NBPUnload
23
FUNCTION NBPUnload : OSErr; [Not in ROM]
\ GetNodeAddress
23
FUNCTION GetNodeAddress (VAR myNode,myNet: INTEGER) : OSErr;[Not in ROM]
\ IsMPPOpen
23
FUNCTION IsMPPOpen : BOOLEAN; [Not in ROM]
\ IsATPOpen
23
IsATPOpen : BOOLEAN; [Not in ROM]
\ VInstall
24
FUNCTION VInstall (vblTaskPtr: QElemPtr) : OSErr;
\ VRemove
24
FUNCTION VRemove (vblTaskPtr: QElemPtr) : OSErr;
\ GetVBLQHdr
24
FUNCTION GetVBLQHdr : QHdrPtr; [Pascal only]
\ HandToHand
25
FUNCTION HandToHand (VAR theHndl: Handle) : OSErr;
\ PtrToHand
25
FUNCTION PtrToHand (srcPtr: Ptr; VAR dstHndl: Handle; size: LONGINT) :
OSErr;
\ PtrToXHand
25
FUNCTION PtrToXHand (srcPtr: Ptr; VAR dstHndl: Handle; size: LONGINT) :
OSErr;
\ HandAndHand
25
FUNCTION HandAndHand (aHndl,bHndl: Handle) : OSErr;
\ PtrAndHand
25
FUNCTION PtrAndHand (pntr: Ptr; hndlk: Handle; size: LONGINT) : OSErr;
\ NGetTrapAddress
25
FUNCTION NGetTrapAddress (trapNum: INTEGER; tType: TrapType) : LongInt;
\ NSetTrapAddress
25
FUNCTION NSetTrapAddress (trapAddr: LongInt; trapNum: INTEGER;
tType: TrapType); [Not in ROM]
\ RelString
25
FUNCTION RelString (aStr,bStr: Str255; caseSens,diacSens: BOOLEAN)
: INTEGER;
\ Environs
25
PROCEDURE Environs (VAR rom,machine: INTEGER) [Not in ROM]
\ EqualString
25
FUNCTION EqualString (aStr,bStr: Str255; caseSens,diacSens: BOOLEAN) :
BOOLEAN;
\ UprString
25
PROCEDURE UprString (VAR theString: Str255; diacSens: BOOLEAN);
\ ReadDateTime
25
FUNCTION ReadDateTime (VAR secs: LONGINT) : OSErr;
\ GetDateTime
25
PROCEDURE GetDateTime (VAR secs: LONGINT); [Not in ROM]
\ SetDateTime
25
FUNCTION SetDateTime (secs: LONGINT) : OSErr;
\ Date2Secs
25
PROCEDURE Date2Secs (date: DateTimeRec; VAR secs: LONGINT);
\ Secs2Date
25
PROCEDURE Secs2Date (secs: LONGINT; VAR date: DateTimeRec);
\ GetTime
25
PROCEDURE GetTime (VAR date: DateTimeRec); [Not in ROM]
\ SetTime
25
PROCEDURE SetTime (date: DateTimeRec); [Not in ROM]
\ InitUtil
25
FUNCTION InitUtil : OSErr;
\ GetSysPPtr
25
FUNCTION GetSysPPtr : SysPPtr; [Not in ROM]
\ WriteParam
25
FUNCTION WriteParam : OSErr;
\ Enqueue
25
PROCEDURE Enqueue (qElement: QElemPtr; theQueue: QHdrPtr);
\ Dequeue
25
FUNCTION Dequeue (qElement: QElemPtr; theQueue: QHdrPtr) : OSErr;
\ GetTrapAddress
25
FUNCTION GetTrapAddress (trapNum: INTEGER) : LONGINT;
\ SetTrapAddress
25
PROCEDURE SetTrapAddress (trapAddr: LONGINT; trapNum: INTEGER);
\ Delay
25
PROCEDURE Delay (numTicks: LONGINT; VAR finalTicks: LONGINT);
\ SysBeep
25
PROCEDURE SysBeep (duration: INTEGER);
\ Restart
25
Procedure Restart; [Not in ROM]
\ SetUpA5
25
Procedure SetUpA5; [Not in ROM]
\ RestoreA5
25
Procedure RestoreA5; [Not in ROM]
\ LNew
26
FUNCTION LNew (rView,dataBounds: Rect; cSize: Point; theProc: INTEGER;
theWindow: WindowPtr; drawIt,hasGrow,
scrollHoriz,scrollVert: BOOLEAN) : ListHandle;
\ LDispose
26
PROCEDURE LDispose (lHandle: ListHandle);
\ LAddColumn
26
FUNCTION LAddColumn (count,colNum: INTEGER; lHandle: ListHandle)
: INTEGER;
\ LAddRow
26
FUNCTION LAddRow (count,rowNum: INTEGER; lHandle: ListHandle) : INTEGER;
\ LDelColumn
26
PROCEDURE LDelColumn (count,colNum: INTEGER; lHandle: ListHandle);
\ LDelRow
26
PROCEDURE LDelRow (count,rowNum: INTEGER; lHandle: ListHandle);
\ LAddToCell
26
PROCEDURE LAddToCell (dataPtr: Ptr; dataLen: INTEGER; theCell: Cell;
lHandle: ListHandle);
\ LClrCell
26
PROCEDURE LClrCell (theCell: Cell; lHandle: ListHandle);
\ LGetCell
26
PROCEDURE LGetCell (dataPtr: Ptr; VAR dataLen: INTEGER; theCell: Cell;
lHandle: ListHandle);
\ LSetCell
26
PROCEDURE LSetCell (dataPtr: Ptr; dataLen: INTEGER; theCell: Cell;
lHandle: ListHandle);
\ LCellSize
26
PROCEDURE LCellSize (cSize: Point; lHandle: ListHandle);
\ LGetSelect
26
FUNCTION LGetSelect (next: BOOLEAN; VAR theCell: Cell;
lHandle: ListHandle) : BOOLEAN;
\ LSetSelect
26
PROCEDURE LSetSelect (setIt: BOOLEAN; theCell: Cell;
lHandle: ListHandle);
\ LClick
26
FUNCTION LClick (pt: Point; modifiers: INTEGER; lHandle: ListHandle)
: BOOLEAN;
\ LLastClick
26
FUNCTION LLastClick (lHandle: ListHandle) : Cell;
\ LFind
26
PROCEDURE LFind (VAR offset,len: INTEGER; theCell: Cell;
lHandle: ListHandle);
\ LNextCell
26
FUNCTION LNextCell (hNext,vNext: BOOLEAN; VAR theCell: Cell;
lHandle: ListHandle) : BOOLEAN;
\ LRect
26
PROCEDURE LRect (VAR cellRect: Rect; theCell: Cell; lHandle: ListHandle)
\ LSearch
26
FUNCTION LSearch (dataPtr: Ptr; dataLen: INTEGER; searchProc: Ptr;
VAR theCell: Cell; lHandle: ListHandle) : BOOLEAN;
\ LSize
26
PROCEDURE LSize (listWidth,listHeight: INTEGER; lHandle: ListHandle);
\ LDraw
26
PROCEDURE LDraw (theCell: Cell; lHandle: ListHandle);
\ LDoDraw
26
PROCEDURE LDoDraw (drawIt: BOOLEAN; lHandle: ListHandle);
\ LScroll
26
PROCEDURE LScroll (dCols,dRows: INTEGER; lHandle: ListHandle);
\ LAutoScroll
26
PROCEDURE LAutoScroll (lHandle: ListHandle);
\ LUpdate
26
PROCEDURE LUpdate (theRgn: RgnHandle; lHandle: ListHandle);
\ LActivate
26
PROCEDURE LActivate (act: BOOLEAN; lHandle: ListHandle);
\ Reset
27
Procedure Reset( F, [,title] );
\ Rewrite
27
Procedure Rewrite( F, [,title] );
\ Open
27
\ Close
27
\Eof
27
\ Get
27
\ Put
27
\ Seek
27
Procedure Seek(f,n);
\ FilePos
27
Function FilePos(f):LongInt;
\ Length
28
Function Length(st:String):Integer;
\ Pos
28
Function Pos(SubStr,Str:String):Integer;
\ Concat
28
Function Concat(str1,str2 ...Strn:String):String;
\ Copy
28
Function Copy(s:string; index,count:integer):String;
\ Delete
28
Procedure Delete(var s:string;index,count:integer);
\ Omit
28
Function Omit(s:string; index,count:integer):String;
\ Insert
28
Procedure insert( source : String; var Dest:String;index:integer);
\ HideAll
29
Procedure HideAll;
\ ShowText
29
Procedure ShowText;
\ ShowDrawing
29
Procedure ShowDrawing;
\ SetDrawingRect
29
Procedure SetDrawingRect(WindowRect:Rect);
\ SetTextRect
29
Procedure SetTextRect(WindowRect:Rect);
\ GetDrawingRect
29
Procedure SetDrawingRect(var WindowRect:Rect);
\ GetTextRect
29
Procedure SetTextRect(var WindowRect:Rect);
\ SaveDrawing
29
Procedure SaveDrawing(Title:String);
\ WriteDraw
29
procedure WriteDraw(p1,p2 .. pn);
\ StringOf
29
Function StringOf(p1,p2 .. pn):String;
\ ReadString
29
Procedure ReadString(s:string; var v1,v2 .. vn);
\ OldFileName
29
Function OldFilename(prompt:string):String;
\ NewFileName
29
Function NewFileName(prompt [ , Default ] :String):String;
\ Note
29
Procedure Note ( frequency:LongInt; Amplitude:integer; Duration:Integer);
\ Generic
29
Procedure Generic (instructionWord:integer;var Registers:RegistersRec);
\ InlineP
29
Procedure InLineP(TrapWord:Integer; p1,p2.. pn);
\ BInlineF
29
Function BInlineF(TrapWord:Integer; p1,p2.. pn):Boolean;
\ BInlineW
29
Function BInlineW(TrapWord:Integer; p1,p2.. pn):Integer;
\ BInlineF
29
Function BInlineL(TrapWord:Integer; p1,p2.. pn):Longint;
\DeepS**t Errors
30
1 Bus Error
2 Address Error
3 Illegal Instruction Error
4 Zero Divide Error
5 Check Trap Error
6 Overflow Trap Error
7 Privilege Violation Error
8 Trace Mode Error
9 Line 1010 Trap Error
10 Line 1111 Trap Error
11 Miscellaneous Hardware Exception Error
12 Unimplemented Core Routine Error
13 Uninstalled Interrupt Error
14 I/O Core Error
15 Segment Loader Error
16 Floating Point Error
17 Package 0 Not Present
18 Package 1 Not Present
19 Package 2 Not Present
20 Package 3 Not Present
21 Package 4 Not Present
22 Package 5 Not Present
23 Package 6 Not Present
24 Package 7 Not Present
25 Out of Memory Error
26 Can╒t Launch File
28 Stack has Moved into Application Heap
29 File System Map has been Trashed
30 Request User to Reinsert Off-Line Volume
31 Not the Disk I Wanted
32 Set Logical Size Error
33 Adjust Free Error
34 Adjust Counters Error
35 Make Block Free Error
36 Set Size Error
37 Initialize Memory Manager Error
38-53 ?
\Result Codes
30
VALUE NAME MEANING
0 noErr No Error
Operating System Event Manager Errors
1 evtNotEnb Event type not designated in system event mask
Printing Manager Errors
128 iPrAbort Application or user requested abort
-1 iPrSavpFil Saving spool file
Queuing Errors
-1 qErr Entry not in queue
-2 vTypErr QType field of entry in vertical retrace queue
isn't vType (in Pascal, ORD(vType))
Device Manager Errors
-17 controlErr Driver can't repsonf to this Control call
Unimplemented control instruction (Printing
Manager)
-18 statusErr Driver can't respond to this Status call
-19 readErr Driver can't respond to Read calls
-20 writErr Driver can't respond to Write calls
-21 badUnitErr Driver reference number doesn't match unit
table
-22 unitEmptyErr Driver reference number specifies NIL handle in
unit table
-23 openErr Requested read/write permission doesn't match
driver's open permission
Attempt to open RAM Serial Driver failed
-25 dRemovErr Attempt to remove an open driver
-26 dInstErr Couldn't find driver in resource file
-27 abortErr I/O request aborted by KillIO
iIOAbort I/O abort error (Printing Manager)
-28 notOpenErr Driver isn't open
File Manager Errors
-33 dirFulErr File Directory full
-34 dskFulErr All allocation blocks on the volume are full
-35 nsvErr Specified volume doesn't exist
-36 ioErr I/O error
-37 bdNamErr Bad file name or volume name (perhaps 0 length)
-38 fnOpenErr File not open
-39 eofErr Logical end-of-file reached during read
operation
-40 posErr Attempt to position before start of file
-42 tmfoErr Too many files open
-43 fnfErr File not found
-44 wPrErr Volume is locked by a hardware setting
-45 fLckdErr File is locked
-46 vLckdErr Volume is locked by a software flag
-47 fBsyErr File is busy; one or more files are open
-48 dupFNErr File with specified name and version number
already exists
-49 opWrErr The read/write permission of only one access
path to a file can allow writing
-50 paramErr Error in parameter list
Parameters don't specify an existing volume,
and there's no default volume (File Manager)
Bad positioning information (Disk Driver)
Bad driver number (Disk Initialization Package)
-51 rfNumErr Path reference number specifies non-existent
access path
-52 gfpErr Error during GetFPos
-53 volOffLinErr Volume not on-line
-54 permErr Attempt to open locked file for writing
-55 volOnLinErr Specified volume is already mounted and on-line
-56 nsDrvErr No such drive; specified drive number doesn't
match any number in the drive queue
-57 noMacDskErr Not a Macintosh disk; volume lacks Macintosh-
format directory
-58 extFSErr External file system; file-system identifier is
non-zero, or path reference number is > 1024
-59 fsRnErr Problem during rename
-60 badMDBErr Bad master directory block; must reinitialize
volume
-61 wrPermErr Read/write permission doesn't allow writing
Low-Level Disk Errors
-64 noDriveErr Drive isn't connected
-65 offLinErr No disk in drive
-66 noNybErr Disk is probably blank
-67 noAdrMkErr Can't find an address mark
-68 dataVerErr Read-verify failed
-69 badCksmErr Bad address mark
-70 badBtSlpErr Bad address mark
-71 noDtaMkErr Can't find a data mark
-72 badDCksum Bad data mark
-73 badDBtSlp Bad data mark
-74 wrUnderrun Write underrun occurred
-75 cantStepErr Drive error
-76 tk0BadErr Can't find track 0
-77 initIWMErr Can't initialize disk controller chip
-78 twoSideErr Tried to read side 2 of a disk in a single-
sided drive
-79 spdAdjErr Can't correctly adjust speed
-80 seekErr Drive error
-81 sectNFErr Can't find sector
Also, to check for any low-level disk error:
-84 firstDskErr First of the range of low-level disk errors
-64 lastDskErr Last of the range of low-level disk errors
Clock Chip Errors
-85 clkRdErr Unable to read clock
-86 clkWrErr Time written did not verify
-87 prWrErr Parameter RAM written did not verify
-88 prInitErr Validity status is not $A8
AppleTalk Manager Errors
-91 ddpSktErr DDP socket error:
Socket already active
Not a well-known socket
Socket table full
All dynamic socket numbers in use
-92 ddpLenErr DDP datagram or ALAP data length too big
-93 noBridgeErr No bridge found
-94 lapProtErr ALAP error attaching/detaching ALAP protocol
type:
Attach error when ALAP protocol type is
negative
Not in range, or already in table, or when
table is full
Detach error when ALAP protocol type isn't
in table
-95 excessCollsns ALAP no CTS received after 32 RTS's, or line
sensed in use 32 times (not necessarily caused
by collisions)
-97 portInUse Driver Open error, port already in use
-98 portNotCf Driver Open error, port not configured for this
connection
Scrap Manager Errors
-100 noScrapErr Desk scrap isn't initialized
-102 noTypeErr No data of the requested type
Memory Mangager Errors
-108 memFullErr Not enough room in heap zone
iMemFullErr Not enough room in heap zone (Printing Manager)
-109 nilHandleErr NIL master pointer
-111 memWZErr Attempt to operate on a free block
-112 memPurErr Attempt to purge a locked block
-117 memLockedErr Block is locked
Resource Manager Errors
-192 resNotFound Resource not found
-193 resFNotFound Resource file not found
-194 addResFailed AddResource failed
-196 rmvResFailed RmveResource failed
Additional AppleTalk Manager Errors
-1024 nbpBuffOvr NBP buffer overflow
-1025 nbpNoConfirm NBP not confirmed
-1026 nbpConfDiff NBP name confirmed for different socket
-1027 nbpDuplicate NBP duplicate name already exists
-1028 nbpNotFound NBP name not found
-1029 nbpNISErr NBP names information socket error
-1096 reqFailed ATPSndRequest failed: retry coun t exceeded
-1097 tooManyReqs ATP too many concurrent requests
-1098 tooManySkts ATP too many responding sockets
-1099 badATPSkt ATP bad responding socket
-1100 badBuffNum ATP bad sequence number
-1101 noRelErr ATP no release received
-1102 cbNotFound ATP control block not found
-1103 noSendResp ATPAddRsp issued before ATPSndRsp
-1104 noDataArea Too many outstanding ATP calls
-1105 reqAborted Request aborted
-3101 buf2SmallErr ALAP frame too large for buffer
DDP datagram too large for buffer
-3102 noMPPError MPP driver not installed
-3103 cksumErr DDP bad checksum
-3104 extractErr NBP can't find tuple in buffer
-3105 readQErr Socket or protocol type invalid or not found in
table
-3106 atpLenErr ATP response message too large
-3107 atpBadRsp Bad response from ATPRequest
-3108 recNotFnd ABRecord not found
-3109 sktClosedErr Asynchronous call aborted because socket was
closed before call was completed\